Module |
|
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
(
float DeltaTime,
TArray< FAnimPhysLinearLimit > & LimitContainer,
FAnimPhysRigidBody * Body,
const FTransform & PlaneTransform
)
Constrains the position of a body to one side of a plane placed at PlaneTransform (plane normal is Z axis)
Parameter |
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 |