|
Unravel Engine C++ Reference
|
Represents a mesh shape for physics calculations. More...
#include <physics_component.h>
Public Attributes | |
| math::vec3 | center {} |
| Center offset of the mesh. | |
| asset_handle< mesh > | mesh_asset {} |
| Reference to the mesh asset. | |
| mesh_collision_type | collision_type {mesh_collision_type::concave} |
| Type of collision shape. | |
Friends | |
| auto | operator== (const physics_mesh_shape &lhs, const physics_mesh_shape &rhs) -> bool=default |
Represents a mesh shape for physics calculations.
Definition at line 82 of file physics_component.h.
|
friend |
| math::vec3 unravel::physics_mesh_shape::center {} |
Center offset of the mesh.
Definition at line 86 of file physics_component.h.
| mesh_collision_type unravel::physics_mesh_shape::collision_type {mesh_collision_type::concave} |
Type of collision shape.
Definition at line 88 of file physics_component.h.
| asset_handle<mesh> unravel::physics_mesh_shape::mesh_asset {} |
Reference to the mesh asset.
Definition at line 87 of file physics_component.h.