Creating pier

This commit is contained in:
2025-12-14 06:59:12 +03:00
parent 81a78990ce
commit 3f99099919
13 changed files with 1581 additions and 259 deletions

View File

@@ -852,6 +852,8 @@ public:
JPH::BodyInterface &body_interface =
physics_system.GetBodyInterface();
JPH::Body *body = body_interface.CreateBody(settings);
if (!body)
return JPH::BodyID();
return body->GetID();
}
void removeBody(const JPH::BodyID &id)