Class atlas::physics::object_vs_broadphase_layer
ClassList > atlas > physics > object_vs_broadphase_layer
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>
Inherits the following classes: JPH::ObjectVsBroadPhaseLayerFilter
Public Functions
Type | Name |
---|---|
bool | ShouldCollide (JPH::ObjectLayer p_in_layer1, JPH::BroadPhaseLayer p_in_layer2) override const |
Detailed Description
Remark:
To give an example, there might exist something like this in the config of the editor: Dynamic â â â Kenmatic â â Static â
Where the interactions can partially be defined and controlled by the developer of the game.
Public Functions Documentation
function ShouldCollide
inline bool atlas::physics::object_vs_broadphase_layer::ShouldCollide (
JPH::ObjectLayer p_in_layer1,
JPH::BroadPhaseLayer p_in_layer2
) override const
The documentation for this class was generated from the following file TheAtlasEngine/atlas/physics/physics_3d/jolt/interface/jolt_broad_phase.hpp