unreal.ApplyVelocityEffect

class unreal.ApplyVelocityEffect(velocity_to_apply: Vector = Ellipsis, additive_velocity: bool = False, force_movement_mode: Name = 'None')

Bases: InstantMovementEffect

Apply Velocity: provides an impulse velocity to the actor after (optionally) forcing them into a particular movement mode Note: this only applies the impulse for one tick!

C++ Source:

  • Plugin: Mover

  • Module: Mover

  • File: BasicInstantMovementEffects.h

Editor Properties: (see get_editor_property/set_editor_property)

  • additive_velocity (bool): [Read-Write] If true VelocityToApply will be added to current velocity on this actor. If false velocity will be set directly to VelocityToApply

  • force_movement_mode (Name): [Read-Write] Optional movement mode name to force the actor into before applying the impulse velocity.

  • velocity_to_apply (Vector): [Read-Write] Velocity to apply to the actor.

property additive_velocity: bool

[Read-Write] If true VelocityToApply will be added to current velocity on this actor. If false velocity will be set directly to VelocityToApply

Type:

(bool)

property force_movement_mode: Name

[Read-Write] Optional movement mode name to force the actor into before applying the impulse velocity.

Type:

(Name)

property velocity_to_apply: Vector

[Read-Write] Velocity to apply to the actor.

Type:

(Vector)