Module |
|
Header |
/Engine/Source/Runtime/Engine/Public/Animation/AnimPhysicsSolver.h |
Include |
#include "Animation/AnimPhysicsSolver.h" |
struct FAnimPhysSpring
Name | Description | ||
---|---|---|---|
|
Anchor0 |
Local space anchor positions (in space of Body0 and Body1 respectively) |
|
|
Anchor1 |
||
|
AngularTarget |
Target in body0 space for the target axis on body1 to reach. |
|
|
AngularTargetAxis |
The axis of body1's orientation to match to the angular target. |
|
|
bApplyAngular |
Whether to apply angular spring force. |
|
|
bApplyLinear |
Whether to apply linear spring force. |
|
|
Body0 |
Bodies connected by the spring (Or nullptr for world) |
|
|
Body1 |
||
|
float |
SpringConstantAngular |
Sprint constant for angular springs. |
|
float |
SpringConstantLinear |
Spring constant for linear springs. |
|
TargetOrientationOffset |
Extra orientation applied on top of Body0's orientation to the target direction. |
Name | Description | ||
---|---|---|---|
|
ApplyForces ( |
Applies forces to the bound bodies |