Answered Setting Real Time Scale from code

  • Sunday, February 26, 2012 7:00 PM
     
     
    As above really- is it possible to do this from code rather than the physics settings? 

All Replies

  • Friday, March 23, 2012 8:45 PM
    Owner
     
     Answered

    The simulation is just another service.  I see that two of the message types it handles are UpdateSimulatorConfiguration, and UpdatePhysicsTimeStep.  Will either of those accomplish what you want?

    Also I believe you can get access to the physics engine object itself (add a reference to PhysicsEngine.dll to your project).  You could look on nVidia PhysX site for possible ways to interact with it.