Module |
|
Header |
/Engine/Source/Runtime/Engine/Public/Animation/AnimPhysicsSolver.h |
Include |
#include "Animation/AnimPhysicsSolver.h" |
class FAnimPhys
Lightweight rigid body motion solver (no collision) used for cosmetic secondary motion in an animation graph without invoking something heavier like using PhysX to simulate constraints which could be cost prohibitive
Name | Description | ||
---|---|---|---|
|
ApplyImpulse ( |
Apply an impulse to a body |
|
|
CalculateCenterOfMass ( |
Calculates the center of mass of a shape |
|
|
CalculateCenterOfMass ( |
Calculates the centre of mass of a collection of shapes |
|
|
CalculateInertia ( |
Calculate the inertia tensor of a shape |
|
|
CalculateInertia ( |
Calculate the inertia tensor of a collection of shapes |
|
|
float |
CalculateVolume ( |
Calculates the volume of a collection of shapes |
|
float |
CalculateVolume ( |
Calculates the volume of a shape |
|
ConstrainAlongDirection ( |
Constrain bodies along a provided axis |
|
|
ConstrainAngularRange ( |
Constraint two bodies together with angular limits, limiting the relative rotation between them. |
|
|
ConstrainConeAngle ( |
Constraints the rotation between two bodies into a cone |
|
|
ConstrainPlanar ( |
Constrains the position of a body to one side of a plane placed at PlaneTransform (plane normal is Z axis) |
|
|
ConstrainPositionNailed ( |
Constrain bodies together as if fixed or nailed (linear only, bodies can still rotate) |
|
|
ConstrainPositionPrismatic ( |
Constrain bodies together with linear limits forming a box or prism around the constraint |
|
|
ConstrainSphericalInner ( |
Constrains the position of a body within the requested sphere |
|
|
ConstrainSphericalOuter ( |
Constrains the position of a body outside of the requested sphere |
|
|
CreateSpring ( |
Spring creation methods. |
|
|
PhysicsUpdate ( |
Performs a physics update on the provided state objects |
|
|
ScaleRigidBodyMass ( |
Scale the mass and inertia properties of a rigid body |