struct
FMeshCollisionPrimitive
One authored collision volume in the mesh's own unscaled local space. Which dimensions are read depends on Shape: Box uses HalfExtents, Sphere uses Radius, Capsule uses Radius + HalfHeight along its local Y, Convex uses Points (already hull-reduced — the cook feeds them straight to Jolt).
- Module
- Physics
- Header
#include "Physics/MeshCollision.h"- Namespace
Mowo
Properties
| Type | Name | Description |
|---|---|---|
std::string | Name | |
EMeshCollisionShape | Shape | Default EMeshCollisionShape::Box. |
Vec3 | Center | Default Vec3(0.0f, 0.0f, 0.0f). |
Quat | Rotation | Default Quat(0.0f, 0.0f, 0.0f, 1.0f). |
Vec3 | HalfExtents | Default Vec3(0.5f, 0.5f, 0.5f). |
float | Radius | Default 0.5f. |
float | HalfHeight | Default 0.5f. |
std::vector<Vec3> | Points |
Generated from Physics/MeshCollision.h via physics.json · Nov 4, 2026Version 1.0.0