SoftBodyInternal(JPH::BodyID id, std::vector< uint32_t > map)
Construct with body ID and vertex map.
Definition SoftBodyInternal.hpp:70
glm::vec3 initialScale
Definition SoftBodyInternal.hpp:52
bool IsValid() const
Check if body ID is valid.
Definition SoftBodyInternal.hpp:87
SoftBodyInternal()
Default constructor (invalid body).
Definition SoftBodyInternal.hpp:57
std::vector< uint32_t > vertexMap
Definition SoftBodyInternal.hpp:48
SoftBodyInternal(JPH::BodyID id)
Construct with body ID.
Definition SoftBodyInternal.hpp:63
SoftBodyInternal(JPH::BodyID id, std::vector< uint32_t > map, const glm::vec3 &scale)
Construct with body ID, vertex map, and initial scale.
Definition SoftBodyInternal.hpp:78
JPH::BodyID bodyID
Jolt body ID for the soft body.
Definition SoftBodyInternal.hpp:44