Navigation
API > API/Runtime > API/Runtime/Engine
Copyright Epic Games, Inc. All Rights Reserved.
| Name | EAngularDriveMode::Type |
| Type | enum |
| Header File | /Engine/Source/Runtime/Engine/Classes/PhysicsEngine/ConstraintDrives.h |
| Include Path | #include "PhysicsEngine/ConstraintDrives.h" |
Syntax
namespace EAngularDriveMode
{
enum Type
{
SLERP,
TwistAndSwing,
}
}
Values
| Name | Remarks |
|---|---|
| SLERP | Spherical lerp between the current orientation/velocity and the target orientation/velocity. |
| TwistAndSwing | Path is decomposed into twist (roll constraint) and swing (cone constraint). |