The ChassisBody type exposes the following members.
Methods
Name | Description | |
---|---|---|
![]() | AddBodyForce(Vector3) |
AddBodyForce
(Inherited from Body.) |
![]() | AddBodyForce(Vector3, Vector3) |
AddBodyForce
(Inherited from Body.) |
![]() | AddBodyTorque |
AddBodyTorque
(Inherited from Body.) |
![]() | AddConstraint |
AddConstraint
(Inherited from Body.) |
![]() | AddExternalForces |
Inherited from tBody
(Overrides Body..::..AddExternalForces(Single).) |
![]() | AddGravityToExternalForce |
Adds the force of global gravity to the external force, if the body is marked
to be effected via global gravity
(Inherited from Body.) |
![]() | AddMovementActivation |
Adds the other body to the list of bodies to be activated if
this body moves more than a certain distance from either a
previously stored position, or the position passed in.
(Inherited from Body.) |
![]() | AddWorldForce(Vector3) |
AddWorldForce
(Inherited from Body.) |
![]() | AddWorldForce(Vector3, Vector3) |
AddWordForce
(Inherited from Body.) |
![]() | AddWorldTorque |
AddWorldTorque
(Inherited from Body.) |
![]() | ApplyBodyAngImpulse |
ApplyBodyAngImpulse
(Inherited from Body.) |
![]() | ApplyBodyImpulse(Vector3) |
ApplyBodyImpulse
(Inherited from Body.) |
![]() | ApplyBodyImpulse(Vector3, Vector3) |
ApplyBodyImpulse
(Inherited from Body.) |
![]() | ApplyBodyWorldImpulse(Vector3, Vector3) |
ApplyBodyWorldImpulse
(Inherited from Body.) |
![]() | ApplyBodyWorldImpulse(Vector3%, Vector3%) |
ApplyBodyWorldImpulse
(Inherited from Body.) |
![]() | ApplyBodyWorldImpulseAux |
ApplyBodyWorldImpulseAux
(Inherited from Body.) |
![]() | ApplyNegativeBodyImpulse(Vector3) |
ApplyNegativeBodyImpulse
(Inherited from Body.) |
![]() | ApplyNegativeBodyImpulse(Vector3, Vector3) |
ApplyNegativeBodyImpulse
(Inherited from Body.) |
![]() | ApplyNegativeBodyWorldImpulse(Vector3, Vector3) |
ApplyNegativeBodyWorldImpulse
(Inherited from Body.) |
![]() | ApplyNegativeBodyWorldImpulse(Vector3%, Vector3%) |
ApplyNegativeBodyWorldImpulse
(Inherited from Body.) |
![]() | ApplyNegativeBodyWorldImpulseAux |
ApplyNegativeBodyWorldImpulseAux
(Inherited from Body.) |
![]() | ApplyNegativeWorldImpulse(Vector3) |
ApplyNegativeWorldImpulse
(Inherited from Body.) |
![]() | ApplyNegativeWorldImpulse(Vector3, Vector3) |
ApplyNegativeWorldImpulse
(Inherited from Body.) |
![]() | ApplyNegativeWorldImpulseAux(Vector3) |
ApplyNegativeWorldImpulseAux
(Inherited from Body.) |
![]() | ApplyNegativeWorldImpulseAux(Vector3, Vector3) |
ApplyNegativeWorldImpulseAux
(Inherited from Body.) |
![]() | ApplyWorldAngImpulse |
ApplyWorldAngImpulse
(Inherited from Body.) |
![]() | ApplyWorldImpulse(Vector3) |
ApplyWorldImpulse
(Inherited from Body.) |
![]() | ApplyWorldImpulse(Vector3, Vector3) |
ApplyWorldImpulse
(Inherited from Body.) |
![]() | ApplyWorldImpulse(Vector3%, Vector3%) |
ApplyWorldImpulse
(Inherited from Body.) |
![]() | ApplyWorldImpulseAux(Vector3) |
ApplyWorldImpulseAux
(Inherited from Body.) |
![]() | ApplyWorldImpulseAux(Vector3, Vector3) |
ApplyWorldImpulseAux
(Inherited from Body.) |
![]() | ClearForces |
This just sets all forces/impulses etc to zero
(Inherited from Body.) |
![]() | ClearVelChanged |
Sets velChanged to false
(Inherited from Body.) |
![]() | CopyCurrentStateToOld |
Copies the current position etc to old - normally called only
by tPhysicsSystem.
(Inherited from Body.) |
![]() | DampForDeactivation |
Damp movement as the body approaches deactivation
(Inherited from Body.) |
![]() | DisableBody |
Deregiser from the physics system.
(Inherited from Body.) |
![]() | EnableBody |
Register with the physics system.
(Inherited from Body.) |
![]() | 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.) |
![]() | GetShouldBeActive |
Indicates if the velocity is above the threshold for freezing
(Inherited from Body.) |
![]() | GetShouldBeActiveAux |
GetShouldBeActiveAux
(Inherited from Body.) |
![]() | GetType |
Gets the Type of the current instance.
(Inherited from Object.) |
![]() | GetVelocity(Vector3) |
Returns the velocity of a point at body-relative position
(in world frame) relPos
(Inherited from Body.) |
![]() | GetVelocity(Vector3%, Vector3%) |
Returns the velocity of a point at body-relative position
(in world frame) relPos
(Inherited from Body.) |
![]() | GetVelocityAux(Vector3) |
As GetVelocity but just uses the aux velocities
(Inherited from Body.) |
![]() | GetVelocityAux(Vector3%, Vector3%) |
As GetVelocity but just uses the aux velocities
(Inherited from Body.) |
![]() | InternalSetImmovable |
Used by physics to temporarily make an object immovable -
needs to restore afterwards!
(Inherited from Body.) |
![]() | LimitAngVel |
LimitAngVel
(Inherited from Body.) |
![]() | LimitVel |
LimitVel
(Inherited from Body.) |
![]() | MemberwiseClone |
Creates a shallow copy of the current Object.
(Inherited from Object.) |
![]() | MoveTo |
This sets the position (sets the vel to 0), but it also tries
to make sure that any frozen bodies resting against this one
get activated if necessary. Not very efficient. Be a little
careful about when you call it - it will mess with the physics
collision list. Also, after this call the object will be
active.
(Inherited from Body.) |
![]() | PostPhysics |
PostPhysics
(Overrides Body..::..PostPhysics(Single).) |
![]() | PrePhysics |
Called right at the beginning of the timestep to notify the
derived classes.
(Inherited from Body.) |
![]() | RemoveConstraint |
RemoveConstraint
(Inherited from Body.) |
![]() | RestoreState |
Restore from the stored state into our current state.
(Inherited from Body.) |
![]() | SetActive |
Make the body active.
(Inherited from Body.) |
![]() | SetActivityThreshold |
Set what the velocity threshold is for activation.
rot is in deg per second.
(Inherited from Body.) |
![]() | SetBodyInertia |
SetBodyInertia
(Inherited from Body.) |
![]() | SetBodyInvInertia |
SetBodyInvInertia
(Inherited from Body.) |
![]() | SetConstraintsAndCollisionsUnsatisfied |
SetConstraintsAndCollisionsUnsatisfied
(Inherited from Body.) |
![]() | SetDeactivationTime |
Set how long it takes to deactivate.
(Inherited from Body.) |
![]() | SetInactive |
SetInactive
(Inherited from Body.) |
![]() | SetOrientation |
SetOrientation
(Inherited from Body.) |
![]() | StoreState |
Copy our current state (position, velocity etc) into the stored state
(Inherited from Body.) |
![]() | ToString | (Inherited from Object.) |
![]() | UpdateDeactivation |
UpdateDeactivation
(Inherited from Body.) |
![]() | UpdatePosition |
Implementation updates the position/orientation with the
current velocties.
(Inherited from Body.) |
![]() | UpdatePositionWithAux |
Updates the position with the auxilary velocities, and zeros them.
(Inherited from Body.) |
![]() | UpdateVelocity |
Implementation updates the velocity/angular rotation with the
force/torque.
(Inherited from Body.) |
Extension Methods
Name | Description | |
---|---|---|
![]() | TransformWireframe |
TransformWireframe
(Defined by BodyRenderExtensions.) |