Creating pier
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user