Vulkan Schnee 0.0.1 (22840dc8)
High-performance rendering engine
Loading...
Searching...
No Matches
Engine::Ecs::SimulatesPhysics Struct Reference

Physics body state for entities synchronized with Bullet. More...

#include <EcsData.h>

Public Attributes

btRigidBody * rigidBody = nullptr
 Bullet rigid body owned by the physics component.
btCollisionShape * collisionShape = nullptr
 Bullet collision shape owned by the physics component.
bool isKinematic = false
 True when the engine writes the ECS transform into Bullet each frame.
bool isStatic = false
 True when the body does not move during physics simulation.

Detailed Description

Physics body state for entities synchronized with Bullet.

Definition at line 182 of file EcsData.h.

Member Data Documentation

◆ collisionShape

btCollisionShape* Engine::Ecs::SimulatesPhysics::collisionShape = nullptr

Bullet collision shape owned by the physics component.

Definition at line 185 of file EcsData.h.

◆ isKinematic

bool Engine::Ecs::SimulatesPhysics::isKinematic = false

True when the engine writes the ECS transform into Bullet each frame.

Definition at line 186 of file EcsData.h.

◆ isStatic

bool Engine::Ecs::SimulatesPhysics::isStatic = false

True when the body does not move during physics simulation.

Definition at line 187 of file EcsData.h.

◆ rigidBody

btRigidBody* Engine::Ecs::SimulatesPhysics::rigidBody = nullptr

Bullet rigid body owned by the physics component.

Definition at line 184 of file EcsData.h.


The documentation for this struct was generated from the following file:
  • /workspace/magerbeton/gl3-vulkan/code/Engine/include/Engine/Ecs/EcsData.h