Physics |
The PhysicsEngine type exposes the following members.
| Name | Description | |
|---|---|---|
| CallbacksCount | The total number of ProcessContact calls made following the collision detection phase. | |
| CCD | Whether Continuous Collision Detection should be performed. | |
| ContactsCount | The total number of contact points generated in the collision detection phase. | |
| ConveyorsGroup | The collision group for conveyors. | |
| DeflectorsGroup | The collision group for deflectors. | |
| DiagnosticSensorsGroup | The collision group for diagnostic sensors. | |
| EngineCollisionDetectionTime | The time spent detecting collisions in the most recent timestep. | |
| EngineProcessingTime | The total time spent processing physics in the most recent timestep. | |
| EngineSolverTime | The time spent solving constraints in the most recent timestep. | |
| FloorsGroup | The collision group for floors. | |
| LoadsGroup | The collision group for loads. | |
| NoneGroup | The special "None" collision group. | |
| PhysicsStepSubscribed | Whether anything has subscribed to receive physics step notifications. | |
| ProcessCollisionsSingleThreaded | Whether to process collisions received from the physics engine in the simulation thread. | |
| ProcessCollisionsTime | The time spent processing collisions in the most recent timestep. | |
| RandomSeed | The random seed for the physics engine. | |
| RenderBodyProperties | Whether to render physics body properties. | |
| RenderPhysics | Whether to render physics. | |
| SensorsGroup | The collision group for sensors. | |
| SimulationGroup | The collision group for planar physics. | |
| SleepingTime | The time that a rigid body must be idle, according to the rigid body's LinearSleepingThreshold and AngularSleepingThreshold values, before it is allowed to enter the sleeping state. | |
| SolverIterations | Number of iterations to use when solving constraints in the dynamics response phase. | |
| StopBladesGroup | The collision group for stop blades. | |
| Ticks |
Counter incremented every time AdvanceTime(Boolean, Double) is called, and reset to zero on Reset.
Can be used to notice in other code if a new physics step has been started,
allowing per-physics step caches to be implemented.
| |
| Time | The current simulation time. | |
| VehiclesGroup | The collision group for vehicles. |