struct
FPhysicsBodyDef
One authored collision body in a physics asset. It attaches to a named skeleton bone and its shape lives in the bone's local frame (bind pose + LocalPosition/LocalRotation). Dimensions are interpreted per Shape: Capsule uses Radius + HalfHeight, Sphere uses Radius, Box uses HalfExtents.
- Module
- Physics
- Header
#include "Physics/PhysicsAsset.h"- Namespace
Mowo
Properties
| Type | Name | Description |
|---|---|---|
std::string | Name | |
std::string | BoneName | |
EPhysicsBodyShape | Shape | Default EPhysicsBodyShape::Capsule. |
float | Radius | Default 0.05f. |
float | HalfHeight | Default 0.1f. |
Vec3 | HalfExtents | Default Vec3(0.05f, 0.1f, 0.05f). |
Vec3 | LocalPosition | Default Vec3(0.0f, 0.0f, 0.0f). |
Quat | LocalRotation | Default Quat::Identity(). |
float | Mass | Default 1.0f. |
float | Density | Default 1.0f. |
bool | CollisionEnabled | Default true. |
Generated from Physics/PhysicsAsset.h via physics.json · Nov 4, 2026Version 1.0.0