Class atlas::physics::jolt_collision
ClassList > atlas > physics > jolt_collision
This is the collision api. It allows users to create children of this collision handler and write their own functions over the virtual ones. Then they can assign it to the engine.
#include <jolt_collision.hpp>
Public Functions
Type | Name |
---|---|
void | collision_added (contact_event & p_event) |
jolt_collision () |
|
jolt_collision (flecs::entity_t p_entity_id) |
Protected Attributes
Type | Name |
---|---|
uint64_t | m_id Allows to keep track of the collision events and what that are assigned to. |
Public Functions Documentation
function collision_added
void atlas::physics::jolt_collision::collision_added (
contact_event & p_event
)
function jolt_collision [1/2]
atlas::physics::jolt_collision::jolt_collision ()
function jolt_collision [2/2]
atlas::physics::jolt_collision::jolt_collision (
flecs::entity_t p_entity_id
)
Protected Attributes Documentation
variable m_id
Allows to keep track of the collision events and what that are assigned to.
uint64_t atlas::physics::jolt_collision::m_id;
Note:
FIXME: Add these function to handle removal and continous collision detection:
The documentation for this class was generated from the following file TheAtlasEngine/atlas/physics/jolt-cpp/jolt_collision.hpp