Unravel Engine C++ Reference
|
Represents a capsule shape for physics calculations. More...
#include <physics_component.h>
Public Attributes | |
math::vec3 | center {} |
Center of the capsule. | |
float | radius {0.5f} |
Radius of the capsule. | |
float | length {1.0f} |
Length of the capsule. | |
Friends | |
auto | operator== (const physics_capsule_shape &lhs, const physics_capsule_shape &rhs) -> bool=default |
Represents a capsule shape for physics calculations.
Definition at line 44 of file physics_component.h.
|
friend |
math::vec3 unravel::physics_capsule_shape::center {} |
Center of the capsule.
Definition at line 48 of file physics_component.h.
float unravel::physics_capsule_shape::length {1.0f} |
Length of the capsule.
Definition at line 50 of file physics_component.h.
float unravel::physics_capsule_shape::radius {0.5f} |
Radius of the capsule.
Definition at line 49 of file physics_component.h.