Click or drag to resize
DigitalRuneRigidBody Methods

The RigidBody type exposes the following members.

Methods
  NameDescription
Public methodAddForce(Vector3F)
Applies a force at the center of mass of the rigid body.
Public methodAddForce(Vector3F, Vector3F)
Applies a force to the rigid body.
Public methodAddTorque
Applies a torque at the center of mass of the rigid body.
Public methodApplyAngularImpulse
Applies an angular impulse at the center of mass
Public methodApplyImpulse
Applies an impulse at a given position.
Public methodApplyLinearImpulse
Applies a linear impulse at the center of mass
Public methodClearForces
Clears all forces that were set with AddForce(Vector3F, Vector3F), AddForce(Vector3F) or AddTorque(Vector3F).
Public methodClone
Creates a new RigidBody that is a clone (deep copy) of the current instance.
Protected methodCloneCore
Makes the instance a clone (deep copy) of the specified RigidBody.
Protected methodCreateInstanceCore
When implemented in a derived class, creates a new instance of the RigidBody derived class.
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodGetVelocityOfLocalPoint
Gets the velocity of a point on the rigid body.
Public methodGetVelocityOfWorldPoint
Gets the velocity of a point on the rigid body.
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Protected methodOnAddToSimulation
Called when this rigid body is added to a simulation.
Protected methodOnPoseChanged
Raises the PoseChanged event.
Protected methodOnRemoveFromSimulation
Called when this rigid body is removed from a simulation.
Protected methodOnShapeChanged
Raises the ShapeChanged event.
Public methodSleep
Deactivates this rigid body.
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Public methodWakeUp
Wakes the rigid body up from sleeping.
Top
Extension Methods
  NameDescription
Public Extension MethodComputeKMatrix
Computes the K matrix needed by sequential impulse-based methods.
(Defined by ConstraintHelper.)
Public Extension MethodSetVelocityOfWorldPoint
Applies an impulse so that the velocity of point on the body is changed.
(Defined by ConstraintHelper.)
Top
Explicit Interface Implementations
  NameDescription
Explicit interface implementationPrivate methodIGeometricObjectClone
Creates a new IGeometricObject that is a clone (deep copy) of the current instance.
Top
See Also