TheAtlasEngine
 
Loading...
Searching...
No Matches
atlas::physics::object_vs_broadphase_layer Class Referencefinal

This is used to tell Jolt what can or cannot collide. As of right now the list is static therfore the layers do not need a dynamic set up. This will change when the object layers become user definable. More...

#include <jolt_broad_phase.hpp>

Inheritance diagram for atlas::physics::object_vs_broadphase_layer:

Public Member Functions

bool ShouldCollide (JPH::ObjectLayer p_in_layer1, JPH::BroadPhaseLayer p_in_layer2) const override
 

Detailed Description

This is used to tell Jolt what can or cannot collide. As of right now the list is static therfore the layers do not need a dynamic set up. This will change when the object layers become user definable.

Remarks
To give an example, there might exist something like this in the config of the editor:
     Dynamic Kenmatic  Static
Dynamic ✅ ✅ ✅ Kenmatic ✅ ✅ Static ✅

Where the interactions can partially be defined and controlled by the developer of the game.


The documentation for this class was generated from the following file: