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

TypeNameDescription
std::stringName
std::stringBodyA
std::stringBodyB
EPhysicsConstraintTypeTypeDefault EPhysicsConstraintType::SwingTwist.
floatSwingDegreesDefault 45.0f.
floatTwistMinDegreesDefault -30.0f.
floatTwistMaxDegreesDefault 30.0f.
floatHingeMinDegreesDefault -90.0f.
floatHingeMaxDegreesDefault 90.0f.
Vec3TwistAxisDefault Vec3(0.0f, 1.0f, 0.0f).
Vec3PlaneAxisDefault Vec3(1.0f, 0.0f, 0.0f).
Generated from Physics/PhysicsAsset.h via physics.json · Nov 4, 2026Version 1.0.0