Recover and verify static collision traversal and body contracts

This commit is contained in:
UnixNight committed 2026-10-26 21:45:57 -04:00
1 parent 7c0d1a4b0c
commit df0263b26e
34 files changed
+1962 -17

No files matched your search

+3 -2
View File
@@ -325,8 +325,9 @@ public sealed class LabSimulation
var wasGrounded = Grounded;
var velocity = Velocity;
// Keep the existing capsule/gravity adapter until C4 recovers Jimmy's
// pre-integration support/response. Source479DF7..479E54 can cancel
// gravity before a supported impulse; this adapter does not model that.
// support/response. Source479DF7..479E54 cancels gravity and vertical
// velocity when global geometry4F69E5 is disabled, not when grounded.
// This adapter does not model that separate source debug/global gate.
var displacement = RecoveredMotion.Integrate(ref velocity, ref pendingImpulse,
Vector3.UnitY * extraAirAcceleration, RecoveredMotion.Gravity, dt);
var before = Position;