Navigation
API > API/Plugins > API/Plugins/ChaosMover
Chaos character walking mode
| Name | UChaosWalkingMode |
| Type | class |
| Header File | /Engine/Plugins/Experimental/ChaosMover/Source/ChaosMover/Public/ChaosMover/Character/Modes/ChaosWalkingMode.h |
| Include Path | #include "ChaosMover/Character/Modes/ChaosWalkingMode.h" |
Syntax
UCLASS (MinimalAPI, Blueprintable, BlueprintType, EditInlineNew, DefaultToInstanced)
class UChaosWalkingMode : public UChaosCharacterMovementMode
Inheritance Hierarchy
- UObjectBase → UObjectBaseUtility → UObject → UBaseMovementMode → UChaosMovementMode → UChaosCharacterMovementMode → UChaosWalkingMode
Implements Interfaces
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
UChaosWalkingMode
(
const FObjectInitializer& ObjectInitializer |
ChaosMover/Character/Modes/ChaosWalkingMode.h |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| bMaintainHorizontalGroundVelocity | uint8 | If true, walking movement always maintains horizontal velocity when moving up ramps, which causes movement up ramps to be faster parallel to the ramp surface. | ChaosMover/Character/Modes/ChaosWalkingMode.h |
|
| FractionalDownwardVelocityToTarget | float | Controls how much downward velocity is applied to keep the character rooted to the ground when the character is within MaxStepHeight of the ground surface. | ChaosMover/Character/Modes/ChaosWalkingMode.h |
|
| FractionalGroundReaction | float | Controls the reaction force applied to the ground in the ground plane when the character is moving A value of 1 means that the full reaction force is applied A value of 0 means the character only applies a normal force to the ground and no tangential force | ChaosMover/Character/Modes/ChaosWalkingMode.h |
|
| FractionalRadialForceLimitScaling | float | Scaling applied to the radial force limit to raise the limit to always allow the character to reach the motion target/ A value of 1 means that the radial force limit will be increased as needed to match the force required to achieve the motion target. | ChaosMover/Character/Modes/ChaosWalkingMode.h |
|
| FrictionForceLimit | float | Maximum force the character can apply to hold in place while standing on an unwalkable incline. | ChaosMover/Character/Modes/ChaosWalkingMode.h |
|
| GroundDamping | float | Damping factor to control the softness of the interaction between the character and the ground Set to 0 for no damping and 1 for maximum damping | ChaosMover/Character/Modes/ChaosWalkingMode.h |
|
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void GenerateMove_Implementation
(
const FMoverTickStartData& StartState, |
ChaosMover/Character/Modes/ChaosWalkingMode.h | ||
virtual void SimulationTick_Implementation
(
const FSimulationTickParams& Params, |
ChaosMover/Character/Modes/ChaosWalkingMode.h |
Overridden from UChaosMovementMode
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void ModifyContacts
(
const FMoverTimeStep& TimeStep, |
ChaosMover/Character/Modes/ChaosWalkingMode.h |
Overridden from IChaosCharacterConstraintMovementModeInterface
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void UpdateConstraintSettings
(
Chaos::FCharacterGroundConstraintSettings& ConstraintSettings |
ChaosMover/Character/Modes/ChaosWalkingMode.h |
Protected
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual bool CanStepUpOnHitSurface
(
const FFloorCheckResult& FloorResult |
ChaosMover/Character/Modes/ChaosWalkingMode.h | ||
virtual void GetFloorAndCheckMovement
(
const FMoverDefaultSyncState& SyncState, |
ChaosMover/Character/Modes/ChaosWalkingMode.h |