Navigation
API > API/Plugins > API/Plugins/Mover > API/Plugins/Mover/PhysicsMover > API/Plugins/Mover/PhysicsMover/Modes
Inheritance Hierarchy
- UObjectBase
- UObjectBaseUtility
- UObject
- UBaseMovementMode
- USwimmingMode
- UPhysicsDrivenSwimmingMode
References
| Module | Mover |
| Header | /Engine/Plugins/Experimental/Mover/Source/Mover/Public/PhysicsMover/Modes/PhysicsDrivenSwimmingMode.h |
| Include | #include "PhysicsMover/Modes/PhysicsDrivenSwimmingMode.h" |
Syntax
UCLASS (Blueprintable, BlueprintType)
class UPhysicsDrivenSwimmingMode :
public USwimmingMode ,
public IPhysicsCharacterMovementModeInterface
Remarks
PhysicsDrivenSwimmingMode: Override base kinematic Swimming mode for physics based motion.
Variables
| Type | Name | Description | |
|---|---|---|---|
| float | TargetHeight | Target height for the character. This is the desired distance from the center of the capsule to the floor. |
Constructors
| Type | Name | Description | |
|---|---|---|---|
UPhysicsDrivenSwimmingMode
(
const FObjectInitializer& ObjectInitializer |
Overridden from USwimmingMode
| Type | Name | Description | |
|---|---|---|---|
| bool | AttemptJump
(
float UpwardsSpeed, |
||
| bool | AttemptTeleport
(
USceneComponent* UpdatedComponent, |
Overridden from UBaseMovementMode
| Type | Name | Description | |
|---|---|---|---|
| void | OnSimulationTick
(
const FSimulationTickParams& Params, |
Overridden from UObject
| Type | Name | Description | |
|---|---|---|---|
| EDataValidationResult | IsDataValid
(
FDataValidationContext& Context |
Generic function to validate objects during changelist validations, etc. |
Overridden from IPhysicsCharacterMovementModeInterface
| Type | Name | Description | |
|---|---|---|---|
| void | UpdateConstraintSettings
(
Chaos::FCharacterGroundConstraint& Constraint |
Update the constraint settings on the game thread. |