A Collider represented by a set of (convex) vertices.
More...
#include <Components.hpp>
|
std::vector< glm::vec3 > | verts |
|
bool | trigger = false |
|
Ref< CollisionHook > | hook |
| does the collider physically interact with other objects (def not stolen from unity)
|
|
A Collider represented by a set of (convex) vertices.
◆ boxCollider()
static Ref<VertexCollider> Engine::VertexCollider::boxCollider |
( |
float |
width = 64 , |
|
|
float |
height = 64 , |
|
|
float |
depth = 64 |
|
) |
| |
|
inlinestatic |
Generate a box collider with given dimensions. centered at 0,0,0.
- Parameters
-
- Returns
The documentation for this struct was generated from the following file: