The PhysicsSystem type exposes the following members.
Constructors
Name | Description | |
---|---|---|
![]() | PhysicsSystem |
Initializes a new PhysicSystem and makes it the current one.
|
Methods
Name | Description | |
---|---|---|
![]() | AddBody |
Adds the body to the Physic- and the CollisionSystem
|
![]() | AddConstraint |
Adds a constraint to the simulation.
|
![]() | AddController |
Add a controller to the simulation.
|
![]() | Equals | (Inherited from Object.) |
![]() | Finalize |
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.) |
![]() | GetHashCode |
Serves as a hash function for a particular type.
(Inherited from Object.) |
![]() | GetType |
Gets the Type of the current instance.
(Inherited from Object.) |
![]() | Integrate |
Integrates the system forwards by dt - the caller is
responsible for making sure that repeated calls to this use
the same dt (if desired)
|
![]() | MemberwiseClone |
Creates a shallow copy of the current Object.
(Inherited from Object.) |
![]() | RemoveBody |
Removes the body from the Physic- and the CollisionSystem
|
![]() | RemoveConstraint |
Removes a constraint form the simulation.
|
![]() | RemoveController |
Removes a Controller from the simulation.
|
![]() | ResetTime |
ResetTime
|
![]() | ToString | (Inherited from Object.) |
Fields
Name | Description | |
---|---|---|
![]() | islands |
List of islands
|
Properties
Name | Description | |
---|---|---|
![]() | AllowedPenetration |
Gets or Sets allowedPenetration
|
![]() | Bodies |
Returns a readonly collection of all Bodies registered. To add or remove Bodies
use AddBody or RemoveBody.
|
![]() | Collisions |
Gets collisions List
|
![]() | CollisionSystem |
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).
|
![]() | CollisionTollerance |
Gets or Sets collToll
|
![]() | Constraints |
Returns a readonly collection of all Constraints registered. To add or remove
Constraints use AddConstraint or RemoveConstraint.
|
![]() | Controllers |
Returns a readonly collection of all Controllers registered. To add or remove
Controllers use AddController or RemoveController.
|
![]() ![]() | CurrentPhysicsSystem |
Gets or Sets the current PhysicSystem.
|
![]() | EnableFreezing |
Sets freezingEnabled
|
![]() | Gravity |
Gets or Sets gravity
|
![]() | GravityMagnitude |
Gets gravityMagnitude
|
![]() | IsFreezingEnabled |
Gets freezingEnabled
|
![]() | IsShockStepEnabled |
Gets or Sets doShockStep
|
![]() | MainGravityAxis |
Gets gravityAxis
|
![]() | NullUpdate |
If nullUpdate then all updates will use dt = 0 (for debugging/profiling)
|
![]() | NumCollisionIterations |
Number of iterations done in the collision step of the solver.
|
![]() | NumContactIterations |
Number of iterations done in the contact step of the solver.
|
![]() | NumPenetrationRelaxtionTimesteps |
Gets or Sets numPenetrationRelaxtionTimesteps
|
![]() | OldTime |
Gets the physics idea of the time we've left behind
|
![]() | SolverType |
Gets or Sets solverType
|
![]() | TargetTime |
Get the physics idea of the time we're advancing towards.
|