physics save/load added
This commit is contained in:
@@ -1582,6 +1582,12 @@ JPH::ShapeRefC JoltPhysicsWrapper::createSphereShape(float radius)
|
||||
return phys->createSphereShape(radius);
|
||||
}
|
||||
|
||||
JPH::ShapeRefC JoltPhysicsWrapper::createCapsuleShape(float halfHeight,
|
||||
float radius)
|
||||
{
|
||||
return phys->createCapsuleShape(halfHeight, radius);
|
||||
}
|
||||
|
||||
JPH::ShapeRefC JoltPhysicsWrapper::createCylinderShape(float halfHeight,
|
||||
float radius)
|
||||
{
|
||||
|
||||
@@ -123,6 +123,7 @@ public:
|
||||
bool isAdded(const JPH::BodyID &body);
|
||||
JPH::ShapeRefC createBoxShape(const Ogre::Vector3 &extents);
|
||||
JPH::ShapeRefC createSphereShape(float radius);
|
||||
JPH::ShapeRefC createCapsuleShape(float halfHeight, float radius);
|
||||
JPH::ShapeRefC createCylinderShape(float halfHeight, float radius);
|
||||
JPH::ShapeRefC createMeshShape(Ogre::MeshPtr mesh);
|
||||
JPH::ShapeRefC createMeshShape(Ogre::String meshName);
|
||||
|
||||
Reference in New Issue
Block a user