class GeometryContact
Defined in:
The C4Contacts.h
GeometryContact
class represents a contact between a rigid body and a geometry.
Definition
class GeometryContact final : public CollisionContact
Member Functions
GeometryContact::GetContactGeometry |
Returns the geometry node involved in a contact. |
GeometryContact::GetRigidBodyContactPosition |
Returns the node-space contact position for the rigid body. |
GeometryContact::GetGeometryContactPosition |
Returns the node-space contact position for the geometry. |
GeometryContact::GetRigidBodyContactNormal |
Returns the node-space contact normal for the rigid body. |
Description
The GeometryContact
class represents a contact between a single shape belonging to a rigid bodies and a geometry node. Instances of the GeometryContact
class are only created internally by the Physics Manager.When a rigid body makes a new contact with a geometry node, the
RigidBodyController::HandleNewGeometryContact
function is called for the rigid body.Base Classes
CollisionContact |
Used internally by the Physics Manager. |
See Also