|
Kanda Interactions 0.7.1
|
Handles predicted ghost entities with Movable components in client and server simulations. Updates networked entity positions and rotations by processing MovableInput from ghost owners, then applying movement via UpdateSimpleMovablesJob or UpdateSmoothMovablesJob. More...
Inheritance diagram for PredictedMovableSystem:Public Member Functions | |
| void | OnCreate (ref SystemState state) |
| void | OnUpdate (ref SystemState state) |
Handles predicted ghost entities with Movable components in client and server simulations. Updates networked entity positions and rotations by processing MovableInput from ghost owners, then applying movement via UpdateSimpleMovablesJob or UpdateSmoothMovablesJob.
To prevent movement jitter during rollback, Movables track the tick when they were last updated. When the current server tick is older than the last updated tick (can happen during rollback), we don't apply movement.