unreal.ComputeVelocityParams

class unreal.ComputeVelocityParams(delta_seconds: float = 0.0, initial_velocity: Vector = Ellipsis, move_direction_intent: Vector = Ellipsis, max_speed: float = 0.0, turning_boost: float = 0.0, friction: float = 0.0, deceleration: float = 0.0, acceleration: float = 0.0, move_input: Vector = Ellipsis, move_input_type: MoveInputType = Ellipsis, use_acceleration_for_velocity_move: bool = False)

Bases: StructBase

Input parameters for compute velocity function

C++ Source:

  • Plugin: Mover

  • Module: Mover

  • File: MovementUtils.h

Editor Properties: (see get_editor_property/set_editor_property)

  • acceleration (float): [Read-Write]

  • deceleration (float): [Read-Write]

  • delta_seconds (float): [Read-Write]

  • friction (float): [Read-Write]

  • initial_velocity (Vector): [Read-Write]

  • max_speed (float): [Read-Write] AuxState variables

  • move_direction_intent (Vector): [Read-Write]

  • move_input (Vector): [Read-Write]

  • move_input_type (MoveInputType): [Read-Write]

  • turning_boost (float): [Read-Write]

  • use_acceleration_for_velocity_move (bool): [Read-Write]

property acceleration: float

[Read-Write]

Type:

(float)

property deceleration: float

[Read-Write]

Type:

(float)

property delta_seconds: float

[Read-Write]

Type:

(float)

property friction: float

[Read-Write]

Type:

(float)

property initial_velocity: Vector

[Read-Write]

Type:

(Vector)

property max_speed: float

[Read-Write] AuxState variables

Type:

(float)

property move_direction_intent: Vector

[Read-Write]

Type:

(Vector)

property move_input: Vector

[Read-Write]

Type:

(Vector)

property move_input_type: MoveInputType

[Read-Write]

Type:

(MoveInputType)

property turning_boost: float

[Read-Write]

Type:

(float)

property use_acceleration_for_velocity_move: bool

[Read-Write]

Type:

(bool)