#include <JoltPhysicsWorld.hpp>
|
| | JoltPhysicsWorld (Core::JobSystem *jobs, PhysicsWorldDesc const &desc={}) |
| |
| | ~JoltPhysicsWorld () |
| |
| | JoltPhysicsWorld (JoltPhysicsWorld const &)=delete |
| |
| JoltPhysicsWorld & | operator= (JoltPhysicsWorld const &)=delete |
| |
| | JoltPhysicsWorld (JoltPhysicsWorld &&)=delete |
| |
| JoltPhysicsWorld & | operator= (JoltPhysicsWorld &&)=delete |
| |
| PhysicsStatus | CreateShape (PhysicsShapeDesc const &desc, PhysicsShapeHandle &outHandle) |
| |
| PhysicsStatus | DestroyShape (PhysicsShapeHandle handle) |
| |
| PhysicsStatus | CreateBody (PhysicsBodyDesc const &desc, PhysicsBodyHandle &outHandle) |
| |
| PhysicsStatus | DestroyBody (PhysicsBodyHandle handle) |
| |
| bool | IsBodyValid (PhysicsBodyHandle handle) const |
| |
| PhysicsStatus | SetBodyPose (PhysicsBodyHandle handle, PhysicsBodyPose const &pose, PhysicsActivation activation=PhysicsActivation::Activate) |
| |
| PhysicsStatus | GetBodyPose (PhysicsBodyHandle handle, PhysicsBodyPose &outPose) const |
| |
| PhysicsStatus | SetLinearVelocity (PhysicsBodyHandle handle, float3 const &velocity) |
| |
| PhysicsStatus | GetLinearVelocity (PhysicsBodyHandle handle, float3 &outVelocity) const |
| |
| PhysicsStatus | AddForce (PhysicsBodyHandle handle, float3 const &force) |
| |
| PhysicsStatus | AddImpulse (PhysicsBodyHandle handle, float3 const &impulse) |
| |
| PhysicsStatus | RayCast (PhysicsRayDesc const &ray, PhysicsRayHit &outHit) const |
| |
| PhysicsStatus | Step (float deltaSeconds, int collisionSteps=1) |
| |
| void | OptimizeBroadPhase () |
| |
| uint32_t | GetBodyCount () const |
| |
| uint32_t | GetMaxBodies () const |
| |
◆ JoltPhysicsWorld() [1/3]
◆ ~JoltPhysicsWorld()
| Foundation::Examples::JoltPhysicsWorld::~JoltPhysicsWorld |
( |
| ) |
|
◆ JoltPhysicsWorld() [2/3]
| Foundation::Examples::JoltPhysicsWorld::JoltPhysicsWorld |
( |
JoltPhysicsWorld const & |
| ) |
|
|
delete |
◆ JoltPhysicsWorld() [3/3]
| Foundation::Examples::JoltPhysicsWorld::JoltPhysicsWorld |
( |
JoltPhysicsWorld && |
| ) |
|
|
delete |
◆ AddForce()
◆ AddImpulse()
◆ CreateBody()
◆ CreateShape()
◆ DestroyBody()
◆ DestroyShape()
◆ GetBodyCount()
| uint32_t Foundation::Examples::JoltPhysicsWorld::GetBodyCount |
( |
| ) |
const |
|
inline |
◆ GetBodyPose()
◆ GetLinearVelocity()
◆ GetMaxBodies()
| uint32_t Foundation::Examples::JoltPhysicsWorld::GetMaxBodies |
( |
| ) |
const |
|
inline |
◆ IsBodyValid()
| bool Foundation::Examples::JoltPhysicsWorld::IsBodyValid |
( |
PhysicsBodyHandle |
handle | ) |
const |
◆ operator=() [1/2]
◆ operator=() [2/2]
◆ OptimizeBroadPhase()
| void Foundation::Examples::JoltPhysicsWorld::OptimizeBroadPhase |
( |
| ) |
|
◆ RayCast()
◆ SetBodyPose()
◆ SetLinearVelocity()
◆ Step()
| PhysicsStatus Foundation::Examples::JoltPhysicsWorld::Step |
( |
float |
deltaSeconds, |
|
|
int |
collisionSteps = 1 |
|
) |
| |
◆ mBodyCount
| uint32_t Foundation::Examples::JoltPhysicsWorld::mBodyCount {0} |
|
private |
◆ mDesc
◆ mImpl
| Impl* Foundation::Examples::JoltPhysicsWorld::mImpl {} |
|
private |
The documentation for this class was generated from the following files: