Contact¶
-
struct nvContactEvent¶
Contact event information.
Public Members
-
nvRigidBody *body_a¶
Body A.
-
nvRigidBody *body_b¶
Body B.
-
nv_float penetration¶
Contact point penetration depth.
-
nv_uint64 id¶
Contact feature ID.
-
nvRigidBody *body_a¶
-
struct nvContactListener¶
Contact event listener.
Public Members
-
nvContactListenerCallback on_contact_added¶
This function is called the first frame where a contact point is detected. Since it’s not solved yet, impulse information is zeros.
-
nvContactListenerCallback on_contact_persisted¶
This function is called every frame when a contact point persist across frames.
-
nvContactListenerCallback on_contact_removed¶
This function is called the first frame when a contact point no longer exists.
-
nvContactListenerCallback on_contact_added¶