ID of a body. This is a way of reasoning about bodies in a multithreaded simulation while avoiding ra...
Definition BodyID.h:13
An interface to query which vertices of a soft body are colliding with other bodies.
Definition SoftBodyManifold.h:13
JPH_INLINE bool HasContact(const SoftBodyVertex &inVertex) const
Check if a vertex has collided with something in this update.
Definition SoftBodyManifold.h:19
JPH_INLINE Vec3 GetLocalContactPoint(const SoftBodyVertex &inVertex) const
Get the local space contact point (multiply by GetCenterOfMassTransform() of the soft body to get wor...
Definition SoftBodyManifold.h:25
JPH_INLINE BodyID GetContactBodyID(const SoftBodyVertex &inVertex) const
Get the body with which the vertex has collided in this update.
Definition SoftBodyManifold.h:37
const Array< SoftBodyVertex > & GetVertices() const
Get the vertices of the soft body for iterating.
Definition SoftBodyManifold.h:16
JPH_INLINE Vec3 GetContactNormal(const SoftBodyVertex &inVertex) const
Get the contact normal for the vertex (assumes there is a contact).
Definition SoftBodyManifold.h:31
This class contains the runtime information of a soft body.
Definition SoftBodyMotionProperties.h:33
Definition SoftBodyVertex.h:16