struct
FPhysicsBodyDesc
A primitive body created straight through the world, outside any component (preview floors, tool geometry, tests). extents follows EQueryShape: a sphere reads x as the radius, a box all three as half extents, a capsule x as the radius and y as the half height of the cylinder.
- Module
- Physics
- Header
#include "Physics/PhysicsWorld.h"- Namespace
Mowo
Properties
| Type | Name | Description |
|---|---|---|
EQueryShape | shape | Default EQueryShape::Box. |
Vec3 | extents | Default Vec3(0.5f, 0.5f, 0.5f). |
Vec3 | position | Default Vec3(0.0f, 0.0f, 0.0f). |
Quat | rotation | |
EPhysicsMotionType | motionType | Default EPhysicsMotionType::Static. |
uint16_t | layer | Default ObjectLayers::Static. |
float | mass | Above zero overrides the mass (inertia still follows the shape). Default 0.0f. |
float | linearDamping | Negative keeps Jolt's default damping. Default -1.0f. |
bool | activate | Default false. |
Generated from Physics/PhysicsWorld.h via physics.json · Nov 4, 2026Version 1.0.0