class
PhysicsMeshEx
Extension class for PhysicsMesh, for adding additional functionality for the script version of the class.
Public
Methods
staticCreate
static HPhysicsMesh Create(const SPtr<RendererMeshData> &meshData, PhysicsMeshType type = PhysicsMeshType::Convex)
Creates a new physics mesh.
- meshData
- Index and vertices of the mesh data.
- type
- Type of the mesh. If convex the provided mesh geometry will be converted into a convex mesh (that might not be the same as the provided mesh data).
staticGetMeshData
Returns the mesh's indices and vertices.