static void Main(string[] args) { using (MotorDemo game = new MotorDemo()) { game.Run(); } }
public void InternalTickCallback(DynamicsWorld world, float timeStep) { MotorDemo motorDemo = (MotorDemo)world.GetWorldUserInfo(); motorDemo.SetMotorTargets(timeStep); }