Module |
|
Header |
/Engine/Source/Runtime/Engine/Classes/PhysicsEngine/ConstraintDrives.h |
Include |
#include "PhysicsEngine/ConstraintDrives.h" |
struct FAngularDriveConstraint
Angular Drive
Name | Description | ||
---|---|---|---|
|
TEnumAsByte< en... |
AngularDriveMode |
Whether motors use SLERP (spherical lerp) or decompose into a Swing motor (cone constraints) and Twist motor (roll constraints). |
|
AngularVelocityTarget |
Target angular velocity relative to the body reference frame. |
|
|
OrientationTarget |
Target orientation relative to the the body reference frame. |
|
|
SlerpDrive |
Controls the SLERP (spherical lerp) drive between current orientation/velocity and target orientation/velocity. |
|
|
SwingDrive |
Controls the cone constraint drive between current orientation/velocity and target orientation/velocity. |
|
|
TwistDrive |
Controls the twist (roll) constraint drive between current orientation/velocity and target orientation/velocity. |
Name | Description | |
---|---|---|
|
FAngularDriveConstraint() |
Name | Description | ||
---|---|---|---|
|
IsOrientationDriveEnabled() |
||
|
IsVelocityDriveEnabled() |
||
|
UpdatePhysXAngularDrive_AssumesLocked ( |
Updates physx drive with properties from unreal |