Navigation
API > API/Plugins > API/Plugins/Mover > API/Plugins/Mover/DefaultMovementSet > API/Plugins/Mover/DefaultMovementSet/Modes
Inheritance Hierarchy
References
| Module | Mover |
| Header | /Engine/Plugins/Experimental/Mover/Source/Mover/Public/DefaultMovementSet/Modes/WalkingMode.h |
| Include | #include "DefaultMovementSet/Modes/WalkingMode.h" |
Syntax
UCLASS (Blueprintable, BlueprintType)
class UWalkingMode : public UBaseMovementMode
Remarks
WalkingMode: a default movement mode for traversing surfaces and movement bases (walking, running, sneaking, etc.)
Variables
| Type | Name | Description | |
|---|---|---|---|
| TObjectPtr< const UCommonLegacyMovementSettings > | CommonLegacySettings | ||
| TObjectPtr< UObject > | TurnGenerator | Optional modular object for generating rotation towards desired orientation. |
Constructors
| Type | Name | Description | |
|---|---|---|---|
UWalkingMode
(
const FObjectInitializer& ObjectInitializer |
Functions
| Type | Name | Description | |
|---|---|---|---|
| bool | AttemptJump
(
float UpwardsSpeed, |
||
| bool | AttemptTeleport
(
USceneComponent* UpdatedComponent, |
||
| void | CaptureFinalState
(
USceneComponent* UpdatedComponent, |
||
| UObject * | Returns the active turn generator. Note: you will need to cast the return value to the generator you expect to get, it can also be none. | ||
| void | SetTurnGeneratorClass
(
UPARAM(meta=(MustImplement="/Script/Mover.TurnGeneratorInterface", AllowAbstract="false")) TSubclass... |
Sets the active turn generator to use the class provided. Note: To set it back to the default implementation pass in none. | |
| FRelativeBaseInfo | UpdateFloorAndBaseInfo
(
const FFloorCheckResult& FloorResult |
Overridden from UBaseMovementMode
| Type | Name | Description | |
|---|---|---|---|
| void | OnGenerateMove
(
const FMoverTickStartData& StartState, |
||
| void | OnRegistered
(
const FName ModeName |
||
| void | OnSimulationTick
(
const FSimulationTickParams& Params, |
||
| void |