Unravel Engine C++ Reference
Loading...
Searching...
No Matches
unravel::physics_mesh_shape Struct 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< meshmesh_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
 

Detailed Description

Represents a mesh shape for physics calculations.

Definition at line 82 of file physics_component.h.

Friends And Related Symbol Documentation

◆ operator==

auto operator== ( const physics_mesh_shape & lhs,
const physics_mesh_shape & rhs ) -> bool=default
friend

Member Data Documentation

◆ center

math::vec3 unravel::physics_mesh_shape::center {}

Center offset of the mesh.

Definition at line 86 of file physics_component.h.

◆ collision_type

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.

◆ mesh_asset

asset_handle<mesh> unravel::physics_mesh_shape::mesh_asset {}

Reference to the mesh asset.

Definition at line 87 of file physics_component.h.


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