PixelBullet  0.0.1
A C++ game engine
Loading...
Searching...
No Matches
pixelbullet::ColliderComponent Struct Reference

Public Member Functions

bool operator== (const ColliderComponent &) const noexcept=default

Public Attributes

bool enabled = true
ColliderShapeType shape = ColliderShapeType::Box
glm::vec3 box_half_extents = glm::vec3(0.5f)
float sphere_radius = 0.5f
float capsule_radius = 0.5f
float capsule_half_height = 0.5f
glm::vec3 center = glm::vec3(0.0f)
float friction = 0.5f
float restitution = 0.0f
bool is_trigger = false

The documentation for this struct was generated from the following file: