Character component for player or NPC characters. More...
#include <CharacterComponent.hpp>
Public Member Functions | |
| bool | isInitialized () const |
| bool | isSupported () const |
Public Attributes | |
| JPH::Ref< JPH::CharacterVirtual > | character = nullptr |
| float | standingHeight = 1.35f |
| float | standingRadius = 0.3f |
| float | mass = 70.0f |
| float | maxSlopeAngle = 45.0f |
| glm::vec3 | controlInput = glm::vec3(0.0f) |
| float | verticalVelocity = 0.0f |
Character component for player or NPC characters.
Definition at line 8 of file CharacterComponent.hpp.
|
inline |
Definition at line 19 of file CharacterComponent.hpp.
|
inline |
Definition at line 20 of file CharacterComponent.hpp.
| JPH::Ref<JPH::CharacterVirtual> vex::CharacterComponent::character = nullptr |
Definition at line 9 of file CharacterComponent.hpp.
| glm::vec3 vex::CharacterComponent::controlInput = glm::vec3(0.0f) |
Definition at line 16 of file CharacterComponent.hpp.
| float vex::CharacterComponent::mass = 70.0f |
Definition at line 13 of file CharacterComponent.hpp.
| float vex::CharacterComponent::maxSlopeAngle = 45.0f |
Definition at line 14 of file CharacterComponent.hpp.
| float vex::CharacterComponent::standingHeight = 1.35f |
Definition at line 11 of file CharacterComponent.hpp.
| float vex::CharacterComponent::standingRadius = 0.3f |
Definition at line 12 of file CharacterComponent.hpp.
| float vex::CharacterComponent::verticalVelocity = 0.0f |
Definition at line 17 of file CharacterComponent.hpp.