Hi there,
Each event E_UPDATE is triggered before the update of the scene, right ?, which causes the update of the physical component by firing E_PHYSICSPRE / POSTSTEP.
However it seems that physical events are triggered before. In the example of the vehicle, I put fprintf to see the order and I got the following
raycastvehicledemo.beginframe
vehicle.fixedupdate
raycastvehicledemo.physicsprestep
raycastvehicledemo.update
raycastvehicledemo.endframe
I also put in the example initialization
PhysicsWorld * pw = scene _-> CreateComponent ();
pw-> SetFps (30.0f);
pw-> SetInterpolation (false);
engine _-> SetMaxFps (30.0f)
I’m probably missing something, some clue?