The ChassisBody type exposes the following members.

Methods

  NameDescription
Public methodAddBodyForce(Vector3)
AddBodyForce
(Inherited from Body.)
Public methodAddBodyForce(Vector3, Vector3)
AddBodyForce
(Inherited from Body.)
Public methodAddBodyTorque
AddBodyTorque
(Inherited from Body.)
Public methodAddConstraint
AddConstraint
(Inherited from Body.)
Public methodAddExternalForces
Inherited from tBody
(Overrides Body..::..AddExternalForces(Single).)
Public methodAddGravityToExternalForce
Adds the force of global gravity to the external force, if the body is marked to be effected via global gravity
(Inherited from Body.)
Public methodAddMovementActivation
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.)
Public methodAddWorldForce(Vector3)
AddWorldForce
(Inherited from Body.)
Public methodAddWorldForce(Vector3, Vector3)
AddWordForce
(Inherited from Body.)
Public methodAddWorldTorque
AddWorldTorque
(Inherited from Body.)
Public methodApplyBodyAngImpulse
ApplyBodyAngImpulse
(Inherited from Body.)
Public methodApplyBodyImpulse(Vector3)
ApplyBodyImpulse
(Inherited from Body.)
Public methodApplyBodyImpulse(Vector3, Vector3)
ApplyBodyImpulse
(Inherited from Body.)
Public methodApplyBodyWorldImpulse(Vector3, Vector3)
ApplyBodyWorldImpulse
(Inherited from Body.)
Public methodApplyBodyWorldImpulse(Vector3%, Vector3%)
ApplyBodyWorldImpulse
(Inherited from Body.)
Public methodApplyBodyWorldImpulseAux
ApplyBodyWorldImpulseAux
(Inherited from Body.)
Public methodApplyNegativeBodyImpulse(Vector3)
ApplyNegativeBodyImpulse
(Inherited from Body.)
Public methodApplyNegativeBodyImpulse(Vector3, Vector3)
ApplyNegativeBodyImpulse
(Inherited from Body.)
Public methodApplyNegativeBodyWorldImpulse(Vector3, Vector3)
ApplyNegativeBodyWorldImpulse
(Inherited from Body.)
Public methodApplyNegativeBodyWorldImpulse(Vector3%, Vector3%)
ApplyNegativeBodyWorldImpulse
(Inherited from Body.)
Public methodApplyNegativeBodyWorldImpulseAux
ApplyNegativeBodyWorldImpulseAux
(Inherited from Body.)
Public methodApplyNegativeWorldImpulse(Vector3)
ApplyNegativeWorldImpulse
(Inherited from Body.)
Public methodApplyNegativeWorldImpulse(Vector3, Vector3)
ApplyNegativeWorldImpulse
(Inherited from Body.)
Public methodApplyNegativeWorldImpulseAux(Vector3)
ApplyNegativeWorldImpulseAux
(Inherited from Body.)
Public methodApplyNegativeWorldImpulseAux(Vector3, Vector3)
ApplyNegativeWorldImpulseAux
(Inherited from Body.)
Public methodApplyWorldAngImpulse
ApplyWorldAngImpulse
(Inherited from Body.)
Public methodApplyWorldImpulse(Vector3)
ApplyWorldImpulse
(Inherited from Body.)
Public methodApplyWorldImpulse(Vector3, Vector3)
ApplyWorldImpulse
(Inherited from Body.)
Public methodApplyWorldImpulse(Vector3%, Vector3%)
ApplyWorldImpulse
(Inherited from Body.)
Public methodApplyWorldImpulseAux(Vector3)
ApplyWorldImpulseAux
(Inherited from Body.)
Public methodApplyWorldImpulseAux(Vector3, Vector3)
ApplyWorldImpulseAux
(Inherited from Body.)
Public methodClearForces
This just sets all forces/impulses etc to zero
(Inherited from Body.)
Public methodClearVelChanged
Sets velChanged to false
(Inherited from Body.)
Public methodCopyCurrentStateToOld
Copies the current position etc to old - normally called only by tPhysicsSystem.
(Inherited from Body.)
Public methodDampForDeactivation
Damp movement as the body approaches deactivation
(Inherited from Body.)
Public methodDisableBody
Deregiser from the physics system.
(Inherited from Body.)
Public methodEnableBody
Register with the physics system.
(Inherited from Body.)
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Protected methodFinalize
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetShouldBeActive
Indicates if the velocity is above the threshold for freezing
(Inherited from Body.)
Public methodGetShouldBeActiveAux
GetShouldBeActiveAux
(Inherited from Body.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodGetVelocity(Vector3)
Returns the velocity of a point at body-relative position (in world frame) relPos
(Inherited from Body.)
Public methodGetVelocity(Vector3%, Vector3%)
Returns the velocity of a point at body-relative position (in world frame) relPos
(Inherited from Body.)
Public methodGetVelocityAux(Vector3)
As GetVelocity but just uses the aux velocities
(Inherited from Body.)
Public methodGetVelocityAux(Vector3%, Vector3%)
As GetVelocity but just uses the aux velocities
(Inherited from Body.)
Public methodInternalSetImmovable
Used by physics to temporarily make an object immovable - needs to restore afterwards!
(Inherited from Body.)
Public methodLimitAngVel
LimitAngVel
(Inherited from Body.)
Public methodLimitVel
LimitVel
(Inherited from Body.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodMoveTo
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.)
Public methodPostPhysics
PostPhysics
(Overrides Body..::..PostPhysics(Single).)
Public methodPrePhysics
Called right at the beginning of the timestep to notify the derived classes.
(Inherited from Body.)
Public methodRemoveConstraint
RemoveConstraint
(Inherited from Body.)
Public methodRestoreState
Restore from the stored state into our current state.
(Inherited from Body.)
Public methodSetActive
Make the body active.
(Inherited from Body.)
Public methodSetActivityThreshold
Set what the velocity threshold is for activation. rot is in deg per second.
(Inherited from Body.)
Public methodSetBodyInertia
SetBodyInertia
(Inherited from Body.)
Public methodSetBodyInvInertia
SetBodyInvInertia
(Inherited from Body.)
Public methodSetConstraintsAndCollisionsUnsatisfied
SetConstraintsAndCollisionsUnsatisfied
(Inherited from Body.)
Public methodSetDeactivationTime
Set how long it takes to deactivate.
(Inherited from Body.)
Public methodSetInactive
SetInactive
(Inherited from Body.)
Public methodSetOrientation
SetOrientation
(Inherited from Body.)
Public methodStoreState
Copy our current state (position, velocity etc) into the stored state
(Inherited from Body.)
Public methodToString
Returns a String that represents the current Object.
(Inherited from Object.)
Public methodUpdateDeactivation
UpdateDeactivation
(Inherited from Body.)
Public methodUpdatePosition
Implementation updates the position/orientation with the current velocties.
(Inherited from Body.)
Public methodUpdatePositionWithAux
Updates the position with the auxilary velocities, and zeros them.
(Inherited from Body.)
Public methodUpdateVelocity
Implementation updates the velocity/angular rotation with the force/torque.
(Inherited from Body.)

Extension Methods

  NameDescription
Public Extension MethodTransformWireframe
TransformWireframe
(Defined by BodyRenderExtensions.)

See Also