Defined in:Called by default when a new contact is made between a rigid body and a geometry node.
virtual RigidBodyStatus HandleNewGeometryContact(RigidBodyController *rigidBody, const GeometryContact *contact);
||The rigid body making contact.|
||The new contact.|
HandleNewGeometryContactfunction is called by the
RigidBodyControllerclass by default when a rigid body makes a new contact with a geometry node. This function can be overridden in a subclass of
Worldin order to carry out a specialized response to a collision.
HandleNewGeometryContactfunction should return one of the following constants.
||No change was made to the rigid body or its contacts.|
||One or more contacts with the rigid body were broken or may have been broken.|
||The rigid body was destroyed.|