#include <ConstraintDrives.h>
|
| ENGINE_API | FAngularDriveConstraint () |
| |
| bool | IsOrientationDriveEnabled () const |
| |
| bool | IsVelocityDriveEnabled () const |
| |
| ENGINE_API void | SetOrientationDriveTwistAndSwing (bool InEnableTwistDrive, bool InEnableSwingDrive) |
| |
| ENGINE_API void | SetOrientationDriveSLERP (bool InEnableSLERP) |
| |
| ENGINE_API void | SetAngularVelocityDriveTwistAndSwing (bool InEnableTwistDrive, bool InEnableSwingDrive) |
| |
| ENGINE_API void | SetAngularVelocityDriveSLERP (bool InEnableSLERP) |
| |
| ENGINE_API void | SetDriveParams (float InStiffness, float InDamping, float InForceLimit) |
| |
| ENGINE_API void | SetDriveParams (const FVector &InStiffness, const FVector &InDamping, const FVector &InForceLimit) |
| |
| ENGINE_API void | GetDriveParams (float &OutStiffness, float &OutDamping, float &OutForceLimit) const |
| |
| ENGINE_API void | GetDriveParams (FVector &OutStiffness, FVector &OutDamping, FVector &OutForceLimit) const |
| |
| ENGINE_API void | SetAngularDriveMode (EAngularDriveMode::Type DriveMode) |
| |
| ENGINE_API void | SetAccelerationMode (bool bAccelerationMode) |
| |
| ENGINE_API bool | GetAccelerationMode () const |
| |
◆ FAngularDriveConstraint()
| FAngularDriveConstraint::FAngularDriveConstraint |
( |
| ) |
|
◆ GetAccelerationMode()
| bool FAngularDriveConstraint::GetAccelerationMode |
( |
| ) |
const |
◆ GetDriveParams() [1/2]
| void FAngularDriveConstraint::GetDriveParams |
( |
float & |
OutStiffness, |
|
|
float & |
OutDamping, |
|
|
float & |
OutForceLimit |
|
) |
| const |
◆ GetDriveParams() [2/2]
◆ IsOrientationDriveEnabled()
| bool FAngularDriveConstraint::IsOrientationDriveEnabled |
( |
| ) |
const |
|
inline |
◆ IsVelocityDriveEnabled()
| bool FAngularDriveConstraint::IsVelocityDriveEnabled |
( |
| ) |
const |
|
inline |
◆ SetAccelerationMode()
| void FAngularDriveConstraint::SetAccelerationMode |
( |
bool |
bAccelerationMode | ) |
|
◆ SetAngularDriveMode()
◆ SetAngularVelocityDriveSLERP()
| void FAngularDriveConstraint::SetAngularVelocityDriveSLERP |
( |
bool |
InEnableSLERP | ) |
|
◆ SetAngularVelocityDriveTwistAndSwing()
| void FAngularDriveConstraint::SetAngularVelocityDriveTwistAndSwing |
( |
bool |
InEnableTwistDrive, |
|
|
bool |
InEnableSwingDrive |
|
) |
| |
◆ SetDriveParams() [1/2]
| void FAngularDriveConstraint::SetDriveParams |
( |
const FVector & |
InStiffness, |
|
|
const FVector & |
InDamping, |
|
|
const FVector & |
InForceLimit |
|
) |
| |
◆ SetDriveParams() [2/2]
| void FAngularDriveConstraint::SetDriveParams |
( |
float |
InStiffness, |
|
|
float |
InDamping, |
|
|
float |
InForceLimit |
|
) |
| |
◆ SetOrientationDriveSLERP()
| void FAngularDriveConstraint::SetOrientationDriveSLERP |
( |
bool |
InEnableSLERP | ) |
|
◆ SetOrientationDriveTwistAndSwing()
| void FAngularDriveConstraint::SetOrientationDriveTwistAndSwing |
( |
bool |
InEnableTwistDrive, |
|
|
bool |
InEnableSwingDrive |
|
) |
| |
Updates physx drive with properties from unreal
◆ 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.
◆ AngularVelocityTarget
| FVector FAngularDriveConstraint::AngularVelocityTarget |
Target angular velocity relative to the body reference frame in revolutions per second.
◆ bAccelerationMode
| bool FAngularDriveConstraint::bAccelerationMode = true |
Whether to use acceleration mode for angular drive. The other option is force mode. (default:true)
◆ OrientationTarget
| FRotator FAngularDriveConstraint::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. 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.
◆ 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.
◆ 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.
The documentation for this struct was generated from the following files: