Kanda Interactions 0.7.1
Loading...
Searching...
No Matches
PredictedMovableSystem Struct Reference

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)
 

Detailed Description

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.


The documentation for this struct was generated from the following file: