unreal.AngularDriveMode

class unreal.AngularDriveMode

Bases: unreal.EnumBase

EAngular Drive Mode

C++ Source:

  • Module: Engine

  • File: ConstraintDrives.h

SLERP

This will NOT work if any angular constraints are set to Locked.

Type

0

Type

Spherical lerp between the current orientation/velocity and the target orientation/velocity. NOTE

TWIST_AND_SWING

Path is decomposed into twist (roll constraint) and swing (cone constraint). Doesn’t follow shortest arc and may experience gimbal lock. Does work with locked angular constraints.

Type

1