|
| static std::vector< std::pair< uint32_t, uint32_t > > | Physics::System::GenerateEdgesFromFaces (const std::vector< uint32_t > &faceIndices) |
| | Generate edge constraints from triangle face indices.
|
| static DeduplicatedMesh | Physics::System::DeduplicateMesh (const Object::Component::Mesh &mesh) |
| | Convert a potentially "flat" mesh (with duplicated vertices) to an indexed mesh with unique vertices.
|
| static CreateSettingsResult | Physics::System::CreateJoltSharedSettings (const Component::SoftBody &softBody, const Object::Component::Mesh &mesh, const glm::vec3 &scale=glm::vec3(1.0f)) |
| | Convert SoftBody component to Jolt SoftBodySharedSettings.
|
| static JPH::SoftBodyCreationSettings | Physics::System::CreateJoltCreationSettings (const Component::SoftBody &softBody, const JPH::Ref< JPH::SoftBodySharedSettings > &sharedSettings, const JPH::RVec3 &position, const JPH::Quat &rotation) |
| | Create Jolt SoftBodyCreationSettings from component.
|
| static void | Physics::System::OnSoftBodyConstruct (Engine::Core::Registry ®istry, Engine::EntityId entityId) |
| static void | Physics::System::OnSoftBodyInternalConstruct (Engine::Core::Registry ®istry, Engine::EntityId entityId) |
| static void | Physics::System::OnSoftBodyDestroy (Engine::Core::Registry ®istry, Engine::EntityId entityId) |
| static void | Physics::System::OnSoftBodyInternalDestroy (Engine::Core::Registry ®istry, Engine::EntityId entityId) |
| void | Physics::System::InitSoftBodySystem (Engine::Core &core) |
| | Initialize the soft body system.
|
| void | Physics::System::ShutdownSoftBodySystem (Engine::Core &core) |
| | Shutdown the soft body system.
|
| void | Physics::System::SyncSoftBodyVertices (Engine::Core &core) |
| | Synchronize soft body vertex positions to mesh data.
|