The ChassisBody type exposes the following members.
Constructors
Name | Description | |
---|---|---|
![]() | ChassisBody |
Constructor
|
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.) |
Fields
Name | Description | |
---|---|---|
![]() | ExternalData |
ExternalData
(Inherited from Body.) |
Properties
Name | Description | |
---|---|---|
![]() | AllowFreezing |
Allows getting/setting of whether this body ever freezes
(Inherited from Body.) |
![]() | AngularVelocity |
Gets or Sets transformRate.AngularVelocity
(Inherited from Body.) |
![]() | AngularVelocityAux |
Gets or Sets transformAux.AngularVelocity
(Inherited from Body.) |
![]() | ApplyGravity |
Gets or sets applyGravity
(Inherited from Body.) |
![]() | BodyInertia |
Gets or Sets bodyInertia
(Inherited from Body.) |
![]() | BodyInvInertia |
Gets or Sets bodyInvInertia
(Inherited from Body.) |
![]() | Car |
Gets mCar
|
![]() | CollisionSkin |
Allowed to return null if this body doesn't engage
in collisions.
(Inherited from Body.) |
![]() | DoShockProcessing |
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.) |
![]() | Force |
Gets or Sets force
(Inherited from Body.) |
![]() | Immovable |
Ensures that this object never moves, and reduces collision
checking.
(Inherited from Body.) |
![]() | InverseMass |
Gets or Set invMass
(Inherited from Body.) |
![]() | IsActive |
Gets activity (bool)
(Inherited from Body.) |
![]() | IsBodyEnabled |
Are we registered with the physics system?
(Inherited from Body.) |
![]() | Mass |
Gets or Sets mass
(Inherited from Body.) |
![]() | OldAngVel |
Gets oldTransformRate.AngularVelocity
(Inherited from Body.) |
![]() | OldOrientation |
Gets oldTransform.Orientation
(Inherited from Body.) |
![]() | OldPosition |
Gets oldTransform.Position
(Inherited from Body.) |
![]() | OldTransform |
Gets oldTransform
(Inherited from Body.) |
![]() | OldTransformRate |
Gets oldTransformRate
(Inherited from Body.) |
![]() | OldVelocity |
Gets oldTransformRate.Velocity
(Inherited from Body.) |
![]() | Orientation |
Gets or Sets transform.Orientation
(Inherited from Body.) |
![]() | Position |
Gets or Sets transform.Position
(Inherited from Body.) |
![]() | Torque |
Gets or Sets torque
(Inherited from Body.) |
![]() | Transform |
Gets or Sets transform
(Inherited from Body.) |
![]() | TransformRate |
Gets or Sets transformRate
(Inherited from Body.) |
![]() | VelChanged |
Gets velChanged
(Inherited from Body.) |
![]() | Velocity |
Gets or Sets transformRate.Velocity
(Inherited from Body.) |
![]() | VelocityAux |
Gets or Sets transformRateAux.Velocity
(Inherited from Body.) |
![]() | WorldInertia |
Gets worldInertia
(Inherited from Body.) |
![]() | WorldInvInertia |
Gets worldInvInertia
(Inherited from Body.) |