![]() |
Lysa
0.0
Lysa 3D Engine
|
PhysX implementation of PhysicsScene. Wraps a PxScene and provides step/update, debug rendering and gravity query.
Inheritance diagram for PhysXPhysicsScene:Public Member Functions | |
| PhysXPhysicsScene (physx::PxPhysics *, const DebugConfig &debugConfig) | |
| void | update (float deltaTime) override |
| void | debug (DebugRenderer &debugRenderer) override |
| float3 | getGravity () const override |
| auto | getScene () const |
| auto | getControllerManager () const |
| ~PhysXPhysicsScene () override | |
Public Member Functions inherited from PhysicsScene | |
| virtual | ~PhysicsScene () = default |
| PhysXPhysicsScene | ( | physx::PxPhysics * | , |
| const DebugConfig & | debugConfig | ||
| ) |
|
override |
Destroys PhysX objects owned by the scene.
|
overridevirtual |
Emits debug primitives (when enabled) via the provided renderer.
Implements lysa::PhysicsScene::debug()
|
inline |
Returns the character controller manager associated with the scene.
|
overridevirtual |
Returns the current gravity vector configured on the scene.
Implements lysa::PhysicsScene::getGravity()
|
inline |
Exposes the underlying PxScene pointer for low‑level operations.
|
overridevirtual |
Advances the PhysX simulation by deltaTime seconds.
Implements lysa::PhysicsScene::update()