Struct PyramidShape

Defines the Pyramid Collider Type.

struct PyramidShape

Defines the Pyramid Collider Type.

Hint: The Base of a Pyramid Collider does not need to be square

Public Functions

fm_vec3_t support(const fm_vec3_t &dir) const
AABB boundingBox(const fm_quat_t *q) const
fm_vec3_t inertiaTensor(float mass) const

Public Members

float baseHalfWidthX
float baseHalfWidthZ
float halfHeight