struct
FPhysicsConstraintDef
A joint between two bodies. BodyB is the constrained child, BodyA the parent frame. Limits are stored in degrees so the authored numbers match what the editor's details rail shows.
- Module
- Physics
- Header
#include "Physics/PhysicsAsset.h"- Namespace
Mowo
Properties
| Type | Name | Description |
|---|---|---|
std::string | Name | |
std::string | BodyA | |
std::string | BodyB | |
EPhysicsConstraintType | Type | Default EPhysicsConstraintType::SwingTwist. |
float | SwingDegrees | Default 45.0f. |
float | TwistMinDegrees | Default -30.0f. |
float | TwistMaxDegrees | Default 30.0f. |
float | HingeMinDegrees | Default -90.0f. |
float | HingeMaxDegrees | Default 90.0f. |
Vec3 | TwistAxis | Default Vec3(0.0f, 1.0f, 0.0f). |
Vec3 | PlaneAxis | Default Vec3(1.0f, 0.0f, 0.0f). |
Generated from Physics/PhysicsAsset.h via physics.json · Nov 4, 2026Version 1.0.0