Estella 0.113.0
A fast 2D and 3D game engine powered by WebAssembly and ECS
Loading...
Searching...
No Matches
Character Struct Reference

#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

Detailed Description

Definition at line 67 of file PhysXWorld.hpp.

Member Data Documentation

◆ body

Definition at line 79 of file PhysXWorld.hpp.

◆ controller

Definition at line 68 of file PhysXWorld.hpp.

◆ entity

Definition at line 69 of file PhysXWorld.hpp.

◆ grounded

Definition at line 73 of file PhysXWorld.hpp.

◆ groundNormal

physx::PxVec3 esengine::physics3d_physx::Character::groundNormal {0.0f, 1.0f, 0.0f}

Definition at line 74 of file PhysXWorld.hpp.

◆ layer

Definition at line 70 of file PhysXWorld.hpp.

◆ mass

Definition at line 76 of file PhysXWorld.hpp.

◆ pushForce

Definition at line 75 of file PhysXWorld.hpp.

◆ touching

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.

◆ verticalSpeed

The vertical speed between moves; a controller does not fall on its own.

Definition at line 72 of file PhysXWorld.hpp.


The documentation for this struct was generated from the following file:
  • /home/runner/work/estella/estella/src/esengine/bindings/modules/physics3d_physx/PhysXWorld.hpp