Saga
Saga Game Engine
Loading...
Searching...
No Matches
collisionSystem.h File Reference
#include <memory>
#include <glm/vec3.hpp>
#include <optional>
#include "Engine/saga.h"
Include dependency graph for collisionSystem.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  Saga::Systems::Collision
 Collision struct that details a collision. More...
 

Namespaces

namespace  Saga
 
namespace  Saga::Systems
 

Functions

void Saga::Systems::collisionSystem (std::shared_ptr< GameWorld > world, float deltaTime, float time)
 First handle cylinder-cylinder collision. Then handle all triangle-ellipsoid collisions.
 
void Saga::Systems::collisionSystem_startup (std::shared_ptr< GameWorld > world)
 Builds the bounding volume hierarchy of the scene's static triangles. Used for ellipsoid-triangle collisions.
 
void Saga::Systems::registerCollisionSystem (std::shared_ptr< GameWorld > world)
 Register all Group for this System, as well as register collisionSystem and collisionSystem as Update and Awake staged systems respectively.