Navigation
API > API/Plugins > API/Plugins/MotionTrajectory
Component for generating trajectories usable by Motion Matching. This component generates trajectories from ACharacter. This is intended to provide an example and starting point for using Motion Matching with a common setup using the default UCharacterMovementComponent. It is expected work flow to extend or replace this component for projects that use a custom movement component or custom movement modes.
| Name | UCharacterTrajectoryComponent |
| Type | class |
| Header File | /Engine/Plugins/Experimental/Animation/MotionTrajectory/Source/MotionTrajectory/Public/CharacterTrajectoryComponent.h |
| Include Path | #include "CharacterTrajectoryComponent.h" |
Syntax
UCLASS (MinimalAPI, Blueprintable, BlueprintType, Meta=(BlueprintSpawnableComponent), Experimental)
class UCharacterTrajectoryComponent : public UActorComponent
Inheritance Hierarchy
- UObjectBase → UObjectBaseUtility → UObject → UActorComponent → UCharacterTrajectoryComponent
Implements Interfaces
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
UCharacterTrajectoryComponent
(
const FObjectInitializer& ObjectInitializer |
CharacterTrajectoryComponent.h |
Functions
Public
Overridden from UActorComponent
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void BeginPlay() |
CharacterTrajectoryComponent.h | ||
virtual void InitializeComponent() |
CharacterTrajectoryComponent.h | ||
virtual void UninitializeComponent() |
CharacterTrajectoryComponent.h |
Protected
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void OnMovementUpdated
(
float DeltaSeconds, |
CharacterTrajectoryComponent.h |