Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/Animation > API/Runtime/Engine/Animation/FAnimPhys
References
| Module | Engine |
| Header | /Engine/Source/Runtime/Engine/Public/Animation/AnimPhysicsSolver.h |
| Include | #include "Animation/AnimPhysicsSolver.h" |
| Source | /Engine/Source/Runtime/Engine/Private/Animation/AnimPhysicsSolver.cpp |
static void ConstrainPlanar
&40;
float DeltaTime,
TArray< FAnimPhysLinearLimit > & LimitContainer,
FAnimPhysRigidBody &42; Body,
const FTransform & PlaneTransform
&41;
Remarks
Constrains the position of a body to one side of a plane placed at PlaneTransform (plane normal is Z axis)
Parameters
| Name | Description |
|---|---|
| LimitContainer | Container to add limits to |
| Body | The body to constrain to the plane |
| PlaneTransform | Transform of the plane, with the normal facing along the Z axis of the orientation |