I’m looking at the Sample 18 demo (character controller) and I’m wondering about the reason for updating char controls before physic updates and then after physics update the camera. Why not handle it in a single update (camera update in HandleUpdate)?
// Subscribe to Update event for setting the character controls before physics simulation
SubscribeToEvent(E_UPDATE, URHO3D_HANDLER(CharacterDemo, HandleUpdate));
// Subscribe to PostUpdate event for updating the camera position after physics simulation
SubscribeToEvent(E_POSTUPDATE, URHO3D_HANDLER(CharacterDemo, HandlePostUpdate));