engine
 
载入中...
搜索中...
未找到
Public 属性 | 友元 | 所有成员列表
FAngularDriveConstraint结构体 参考

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

类成员变量说明

◆ AngularDriveMode

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.

◆ SlerpDrive

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.

◆ SwingDrive

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.

◆ TwistDrive

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.


该结构体的文档由以下文件生成: