Class PhysicsScriptComponentExtensions
Extension methods for the ScriptComponent related to phystics
public static class PhysicsScriptComponentExtensions- Inheritance
- 
      objectPhysicsScriptComponentExtensions
Methods
GetSimulation(ScriptComponent)
Gets the curent Simulation.
public static Simulation GetSimulation(this ScriptComponent scriptComponent)Parameters
- scriptComponentScriptComponent
- The script component to query physics from 
Returns
- Simulation
- The simulation object or null if there are no simulation running for the current scene.