The ChassisBody type exposes the following members.

Constructors

  NameDescription
Public methodChassisBody
Constructor

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.)

Fields

  NameDescription
Public fieldExternalData
ExternalData
(Inherited from Body.)

Properties

  NameDescription
Public propertyAllowFreezing
Allows getting/setting of whether this body ever freezes
(Inherited from Body.)
Public propertyAngularVelocity
Gets or Sets transformRate.AngularVelocity
(Inherited from Body.)
Public propertyAngularVelocityAux
Gets or Sets transformAux.AngularVelocity
(Inherited from Body.)
Public propertyApplyGravity
Gets or sets applyGravity
(Inherited from Body.)
Public propertyBodyInertia
Gets or Sets bodyInertia
(Inherited from Body.)
Public propertyBodyInvInertia
Gets or Sets bodyInvInertia
(Inherited from Body.)
Public propertyCar
Gets mCar
Public propertyCollisionSkin
Allowed to return null if this body doesn't engage in collisions.
(Inherited from Body.)
Public propertyDoShockProcessing
Bodies that use a lot of constraints don't behave very well during the physics shock step, so they can bypass it.
(Inherited from Body.)
Public propertyForce
Gets or Sets force
(Inherited from Body.)
Public propertyImmovable
Ensures that this object never moves, and reduces collision checking.
(Inherited from Body.)
Public propertyInverseMass
Gets or Set invMass
(Inherited from Body.)
Public propertyIsActive
Gets activity (bool)
(Inherited from Body.)
Public propertyIsBodyEnabled
Are we registered with the physics system?
(Inherited from Body.)
Public propertyMass
Gets or Sets mass
(Inherited from Body.)
Public propertyOldAngVel
Gets oldTransformRate.AngularVelocity
(Inherited from Body.)
Public propertyOldOrientation
Gets oldTransform.Orientation
(Inherited from Body.)
Public propertyOldPosition
Gets oldTransform.Position
(Inherited from Body.)
Public propertyOldTransform
Gets oldTransform
(Inherited from Body.)
Public propertyOldTransformRate
Gets oldTransformRate
(Inherited from Body.)
Public propertyOldVelocity
Gets oldTransformRate.Velocity
(Inherited from Body.)
Public propertyOrientation
Gets or Sets transform.Orientation
(Inherited from Body.)
Public propertyPosition
Gets or Sets transform.Position
(Inherited from Body.)
Public propertyTorque
Gets or Sets torque
(Inherited from Body.)
Public propertyTransform
Gets or Sets transform
(Inherited from Body.)
Public propertyTransformRate
Gets or Sets transformRate
(Inherited from Body.)
Public propertyVelChanged
Gets velChanged
(Inherited from Body.)
Public propertyVelocity
Gets or Sets transformRate.Velocity
(Inherited from Body.)
Public propertyVelocityAux
Gets or Sets transformRateAux.Velocity
(Inherited from Body.)
Public propertyWorldInertia
Gets worldInertia
(Inherited from Body.)
Public propertyWorldInvInertia
Gets worldInvInertia
(Inherited from Body.)

See Also