|
Estella 0.113.0
A fast 2D and 3D game engine powered by WebAssembly and ECS
|
#include <PhysXWorld.hpp>
Public Attributes | |
| physx::PxController * | controller = nullptr |
| uint32_t | entity = 0 |
| uint32_t | layer = 0 |
| float | verticalSpeed = 0.0f |
| The vertical speed between moves; a controller does not fall on its own. | |
| bool | grounded = false |
| physx::PxVec3 | groundNormal {0.0f, 1.0f, 0.0f} |
| float | pushForce = 0.0f |
| float | mass = 70.0f |
| std::vector< const physx::PxRigidActor * > | touching |
| std::unique_ptr< Body > | body |
Definition at line 67 of file PhysXWorld.hpp.
| std::unique_ptr<Body> esengine::physics3d_physx::Character::body |
Definition at line 79 of file PhysXWorld.hpp.
| physx::PxController* esengine::physics3d_physx::Character::controller = nullptr |
Definition at line 68 of file PhysXWorld.hpp.
Referenced by physics3d_moveCharacter(), and physics3d_raycastWith().
| uint32_t esengine::physics3d_physx::Character::entity = 0 |
Definition at line 69 of file PhysXWorld.hpp.
Referenced by physics3d_raycastWith().
| bool esengine::physics3d_physx::Character::grounded = false |
Definition at line 73 of file PhysXWorld.hpp.
Referenced by physics3d_moveCharacter().
| physx::PxVec3 esengine::physics3d_physx::Character::groundNormal {0.0f, 1.0f, 0.0f} |
Definition at line 74 of file PhysXWorld.hpp.
| uint32_t esengine::physics3d_physx::Character::layer = 0 |
Definition at line 70 of file PhysXWorld.hpp.
Referenced by physics3d_moveCharacter(), and physics3d_raycastWith().
| float esengine::physics3d_physx::Character::mass = 70.0f |
Definition at line 76 of file PhysXWorld.hpp.
| float esengine::physics3d_physx::Character::pushForce = 0.0f |
Definition at line 75 of file PhysXWorld.hpp.
| std::vector<const physx::PxRigidActor*> esengine::physics3d_physx::Character::touching |
The actors it touched after its last move, so a meeting is told once, not every move it lasts.
Definition at line 78 of file PhysXWorld.hpp.
| float esengine::physics3d_physx::Character::verticalSpeed = 0.0f |
The vertical speed between moves; a controller does not fall on its own.
Definition at line 72 of file PhysXWorld.hpp.
Referenced by physics3d_moveCharacter().