fix(physics): #32 L.2c wire edge-slide movement flag
This commit is contained in:
parent
9fea9b13ad
commit
1ec40f2a4f
6 changed files with 75 additions and 14 deletions
|
|
@ -5856,7 +5856,11 @@ public sealed class GameWindow : IDisposable
|
|||
// branch zeroes the +Z offset every step (same bug
|
||||
// we hit on the local jump).
|
||||
isOnGround: !rm.Airborne,
|
||||
body: rm.Body); // persist ContactPlane across frames for slope tracking
|
||||
body: rm.Body, // persist ContactPlane across frames for slope tracking
|
||||
// Retail default physics state includes EdgeSlide.
|
||||
// Remote dead-reckoning should exercise the same
|
||||
// edge/cliff branch as local movement.
|
||||
moverFlags: AcDream.Core.Physics.ObjectInfoState.EdgeSlide);
|
||||
|
||||
rm.Body.Position = resolveResult.Position;
|
||||
if (resolveResult.CellId != 0)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue