Angular Drive 更多...
#include <ConstraintDrives.h>
Public 属性 | |
| TEnumAsByte< enum EAngularDriveMode::Type > | AngularDriveMode |
| Whether motors use SLERP (spherical lerp) or decompose into a Swing motor (cone constraints) and Twist motor (roll constraints). 更多... | |
| FVector | AngularVelocityTarget |
| Target angular velocity relative to the body reference frame. | |
| FRotator | OrientationTarget |
| Target orientation relative to the the body reference frame. | |
| FConstraintDrive | SlerpDrive |
| Controls the SLERP (spherical lerp) drive between current orientation/velocity and target orientation/velocity. 更多... | |
| FConstraintDrive | SwingDrive |
| Controls the cone constraint drive between current orientation/velocity and target orientation/velocity. 更多... | |
| FConstraintDrive | TwistDrive |
| Controls the twist (roll) constraint drive between current orientation/velocity and target orientation/velocity. 更多... | |
友元 | |
| struct | FConstraintInstance |
Angular Drive
| TEnumAsByte<enum EAngularDriveMode::Type> FAngularDriveConstraint::AngularDriveMode |
Whether motors use SLERP (spherical lerp) or decompose into a Swing motor (cone constraints) and Twist motor (roll constraints).
NOTE: SLERP will NOT work if any of the angular constraints are locked.
| FConstraintDrive FAngularDriveConstraint::SlerpDrive |
Controls the SLERP (spherical lerp) drive between current orientation/velocity and target orientation/velocity.
NOTE: This is only available when all three angular limits are either free or limited. Locking any angular limit will turn off the drive implicitly.
| FConstraintDrive FAngularDriveConstraint::SwingDrive |
Controls the cone constraint drive between current orientation/velocity and target orientation/velocity.
This is available as long as there is at least one swing limit set to free or limited.
| FConstraintDrive FAngularDriveConstraint::TwistDrive |
Controls the twist (roll) constraint drive between current orientation/velocity and target orientation/velocity.
This is available as long as the twist limit is set to free or limited.