unreal.MovementInterface

class unreal.MovementInterface(outer: Object | None = None, name: Name | str = 'None')

Bases: Interface

Movement Interface

C++ Source:

  • Module: Engine

  • File: MovementInterface.h

get_movement_owner() Object

Returns the object that owns the movement system. In a Actor/ActorComponent set up, this will typically be an Actor Note: This can return nullptr with certain movement setups

Return type:

Object

get_transform() Transform

Returns world space Transform of object moved by the movement system

Return type:

Transform

get_updated_object() Object

Returns the root object being moved (updated) by the movement system Note: This can return nullptr with certain movement setups

Return type:

Object

get_velocity() Vector

Returns velocity of object moved by the movement system

Return type:

Vector

request_stop_movement() None

Stops active movement. This function does NOT cancel future movement. Note: depending on the movement system this may take effect immediately or next movement update