Class PhysicsSystem

Inheritance Relationships

Base Type

Class Documentation

class legion::physics::PhysicsSystem : public legion::core::System<PhysicsSystem>

Public Functions

virtual void setup()
inline void fixedUpdate(time::time_span<fast_time> deltaTime)
inline void bulkRetrievePreManifoldData(ecs::component_container<physicsComponent> &physComps, ecs::component_container<position> &positions, ecs::component_container<rotation> &rotations, ecs::component_container<scale> &scales, std::vector<physics_manifold_precursor> &manifoldPrecursors)

Public Members

ecs::EntityQuery manifoldPrecursorQuery

Public Static Functions

template<typename BroadPhaseType, typename ...Args>
static inline void setBroadPhaseCollisionDetection(Args&&... args)

Sets the broad phase collision detection method Use BroadPhaseBruteForce to not use any broad phase collision detection.

static inline void drawBroadPhase()

Public Static Attributes

static bool IsPaused = false
static bool oneTimeRunActive = false