Crimson Engine 1.0.0
A high-performance C++20 game engine prototype showcasing a custom ECS, Vulkan renderer, and ImGui editor.
Loading...
Searching...
No Matches
Collider.hpp File Reference
#include <glm/glm.hpp>
#include "core/EngineAPI.hpp"
#include "meta/ComponentReflection.hpp"

Go to the source code of this file.

Classes

struct  ColliderComponent
 Represents a collision volume (Sphere, Axis-Aligned Bounding Box, Oriented Bounding Box, or Capsule). More...

Enumerations

enum class  ColliderShape { Sphere , AABB , OBB , Capsule }
 Geometric primitive shapes supported for physics collision detection. More...

Functions

 REGISTER_COMPONENT (ColliderComponent, "Physics/Collider")

Enumeration Type Documentation

◆ ColliderShape

enum class ColliderShape
strong

Geometric primitive shapes supported for physics collision detection.

Enumerator
Sphere 

Spherical collision volume defined by radius.

AABB 

Axis-Aligned Bounding Box volume.

OBB 

Oriented Bounding Box volume.

Capsule 

Capsule volume defined by radius and height.

Function Documentation

◆ REGISTER_COMPONENT()

REGISTER_COMPONENT ( ColliderComponent ,
"Physics/Collider"  )