The PhysicsSystem type exposes the following members.

Properties

  NameDescription
Public propertyAllowedPenetration
Gets or Sets allowedPenetration
Public propertyBodies
Returns a readonly collection of all Bodies registered. To add or remove Bodies use AddBody or RemoveBody.
Public propertyCollisions
Gets collisions List
Public propertyCollisionSystem
If there is to be any collision detection, this physics system needs to know how to collide objects. In the absence of a collision system, no collisions will occur (surprise surprise).
Public propertyCollisionTollerance
Gets or Sets collToll
Public propertyConstraints
Returns a readonly collection of all Constraints registered. To add or remove Constraints use AddConstraint or RemoveConstraint.
Public propertyControllers
Returns a readonly collection of all Controllers registered. To add or remove Controllers use AddController or RemoveController.
Public propertyStatic memberCurrentPhysicsSystem
Gets or Sets the current PhysicSystem.
Public propertyEnableFreezing
Sets freezingEnabled
Public propertyGravity
Gets or Sets gravity
Public propertyGravityMagnitude
Gets gravityMagnitude
Public propertyIsFreezingEnabled
Gets freezingEnabled
Public propertyIsShockStepEnabled
Gets or Sets doShockStep
Public propertyMainGravityAxis
Gets gravityAxis
Public propertyNullUpdate
If nullUpdate then all updates will use dt = 0 (for debugging/profiling)
Public propertyNumCollisionIterations
Number of iterations done in the collision step of the solver.
Public propertyNumContactIterations
Number of iterations done in the contact step of the solver.
Public propertyNumPenetrationRelaxtionTimesteps
Gets or Sets numPenetrationRelaxtionTimesteps
Public propertyOldTime
Gets the physics idea of the time we've left behind
Public propertySolverType
Gets or Sets solverType
Public propertyTargetTime
Get the physics idea of the time we're advancing towards.

See Also