Classes | |
| class | atlas::physics::broad_phase_layer_interface |
| This class is made to control the broadphase layer. Filters can be added to it to create a better and more organized broadphase. Ass well as giving some control to the user on how the broadphase should be organized. This requires dynamic masking however, which is not currently running. More... | |
| class | 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... | |
| class | atlas::physics::object_layer_pair_filter |
| This goes into more detailed ways of filtering, where the object collisions may be defined be what the other object is. In this case a static setup allows static object to trigger collision only when it is touched by a dynamic target. More... | |
Enumerations | |
| enum class | ObjectLayer : std::uint8_t { NonMoving = 0 , Moving = 1 , NumLayers } |
| This contains a few important comparisons having to do with setting up the oct-trees correctly as well as the filtering and collision interaction. More... | |
| enum class | BroadPhaseLayers : std::uint8_t { NonMoving = 0 , Moving = 1 , NumLayers } |
Functions | |
| uint32_t | GetNumBroadPhaseLayers () const override |
| Get the Number of layers that exsist in the current context. Static for now. | |
| JPH::BroadPhaseLayer | GetBroadPhaseLayer (JPH::ObjectLayer p_in_layer) const override |
| Gives the caller access to the broadphase object. Allowing for some manipulation on how those interactions may go. Including but not limited to changing the filtering of the broadphase or reorganizing the oct-tree. | |
| bool | ShouldCollide (JPH::ObjectLayer p_in_layer1, JPH::BroadPhaseLayer p_in_layer2) const override |
| bool | ShouldCollide (JPH::ObjectLayer p_in_object1, JPH::ObjectLayer p_in_object2) const override |
Files | |
| file | TheAtlasEngine/atlas/drivers/jolt_cpp/broad_phase.cppm |