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

Go to the source code of this file.

Classes

struct  Saga::Physics::RaycastHit
 

Namespaces

namespace  Saga
 
namespace  Saga::Physics
 

Functions

bool Saga::Physics::overlapCylinder (std::shared_ptr< GameWorld > world, float height, float radius, glm::vec3 pos)
 Determine if a cylinder overlaps with another cylinder in the world.
 
std::optional< RaycastHit > Saga::Physics::raycastAllTriangles (std::shared_ptr< GameWorld > world, glm::vec3 pos, glm::vec3 dir)
 Cast a ray, hitting any mesh collider.
 
void Saga::Physics::registerPhysicsMetaSystem (std::shared_ptr< GameWorld > world)
 Register all Groups that the Physics meta system use.