Skip to content

Latest commit

 

History

History
19 lines (16 loc) · 1.4 KB

Pawn-AddMovementInput(Vector3_float_bool).md

File metadata and controls

19 lines (16 loc) · 1.4 KB

Pawn.AddMovementInput(System.Numerics.Vector3, float, bool) Method

Adds movement input along the given world direction vector (usually normalized)

public void AddMovementInput(in System.Numerics.Vector3 worldDirection, float scaleValue=1f, bool force=false);

Parameters

worldDirection System.Numerics.Vector3
Direction in world space to apply input

scaleValue System.Single
Scale to apply to input, 0.5f applies half the normal value, while -1.0 would reverse the direction

force System.Boolean
If true, always add the input, ignoring the result of IsMoveInputIgnored