Navigation
API > API/Plugins > API/Plugins/MotionTrajectory
| Name | FCharacterTrajectoryData |
| Type | struct |
| Header File | /Engine/Plugins/Experimental/Animation/MotionTrajectory/Source/MotionTrajectory/Public/MotionTrajectoryLibrary.h |
| Include Path | #include "MotionTrajectoryLibrary.h" |
Syntax
USTRUCT (BlueprintType )
struct FCharacterTrajectoryData
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| Acceleration | FVector | MotionTrajectoryLibrary.h | ||
| AccelerationRemappingCurve | FRuntimeFloatCurve | MotionTrajectoryLibrary.h |
|
|
| BendVelocityTowardsAcceleration | float | Artificially bend character velocity towards acceleration direction to compute trajectory prediction, to get sharper turns 0: character velocity is used with no alteration, 1: the acceleration direction is used as velocity direction | MotionTrajectoryLibrary.h |
|
| bOrientRotationToMovement | bool | MotionTrajectoryLibrary.h | ||
| BrakingDeceleration | float | MotionTrajectoryLibrary.h | ||
| bUseAccelerationRemappingCurve | bool | MotionTrajectoryLibrary.h |
|
|
| bUseSpeedRemappingCurve | bool | MotionTrajectoryLibrary.h |
|
|
| ControllerYawRate | float | MotionTrajectoryLibrary.h | ||
| ControllerYawRateClamped | float | MotionTrajectoryLibrary.h | ||
| DesiredControllerYawLastUpdate | float | MotionTrajectoryLibrary.h | ||
| Facing | FQuat | MotionTrajectoryLibrary.h | ||
| Friction | float | MotionTrajectoryLibrary.h | ||
| MaxControllerYawRate | float | Maximum controller yaw rate in degrees per second used to clamp the character owner controller desired yaw to generate the prediction trajectory. | MotionTrajectoryLibrary.h |
|
| MaxSpeed | float | MotionTrajectoryLibrary.h | ||
| MeshCompRelativeRotation | FQuat | MotionTrajectoryLibrary.h | ||
| Position | FVector | MotionTrajectoryLibrary.h | ||
| RotateTowardsMovementSpeed | float | If the character is forward facing (i.e. bOrientRotationToMovement is true), this controls how quickly the trajectory will rotate to face acceleration. | MotionTrajectoryLibrary.h |
|
| SpeedRemappingCurve | FRuntimeFloatCurve | MotionTrajectoryLibrary.h |
|
|
| Velocity | FVector | MotionTrajectoryLibrary.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FVector StepCharacterMovementGroundPrediction
(
float DeltaSeconds, |
MotionTrajectoryLibrary.h | ||
void UpdateDataFromCharacter
(
float DeltaSeconds, |
MotionTrajectoryLibrary.h |