public void InternalTickCallback(DynamicsWorld world, float timeStep) { MotorDemo motorDemo = (MotorDemo)world.GetWorldUserInfo(); motorDemo.SetMotorTargets(timeStep); }