Module |
|
Header |
/Engine/Source/Runtime/Engine/Classes/PhysicsEngine/ConstraintInstance.h |
Include |
#include "PhysicsEngine/ConstraintInstance.h" |
struct FConstraintProfileProperties
Container for properties of a physics constraint that can be easily swapped at runtime. This is useful for switching different setups when going from ragdoll to standup for example
Name | Description | ||
---|---|---|---|
|
float |
AngularBreakThreshold |
Torque needed to break the joint. |
|
AngularDrive |
||
|
uint8: 1 |
bAngularBreakable |
Whether it is possible to break the joint with angular force. |
|
uint8: 1 |
bDisableCollision |
Disable collision between bodies joined by this constraint. |
|
uint8: 1 |
bEnableProjection |
If distance error between bodies exceeds 0.1 units, or rotation error exceeds 10 degrees, body will be projected to fix this. |
|
uint8: 1 |
bLinearBreakable |
Whether it is possible to break the joint with linear force. |
|
uint8: 1 |
bParentDominates |
When set, the parent body in a constraint will not be affected by the motion of the child. |
|
ConeLimit |
||
|
float |
LinearBreakThreshold |
Force needed to break the distance constraint. |
|
LinearDrive |
||
|
LinearLimit |
||
|
float |
ProjectionAngularTolerance |
Angular tolerance value in world units. |
|
float |
ProjectionLinearTolerance |
Linear tolerance value in world units. |
|
TwistLimit |
Name | Description | |
---|---|---|
|
FConstraintProfileProperties() |
Name | Description | ||
---|---|---|---|
|
SyncChangedConstraintProperties ( |
||
|
Update_AssumesLocked ( |
Updates physx joint properties from unreal properties (limits, drives, flags, etc...) |
|
|
UpdateBreakable_AssumesLocked ( |
Updates physx joint breakable properties (threshold, etc...) |
|
|
UpdateConstraintFlags_AssumesLocked ( |
Updates physx joint flag based on profile properties |