unreal.MoverDataModelBlueprintLibrary

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

Bases: BlueprintFunctionLibrary

Blueprint function library to make it easier to work with Mover data structs, since we can’t add UFUNCTIONs to structs

C++ Source:

  • Plugin: Mover

  • Module: Mover

  • File: MoverDataModelTypes.h

classmethod get_angular_velocity_degrees_from_sync_state(sync_state) Vector

Returns the angular velocity in world space, in degrees per second

Parameters:

sync_state (MoverDefaultSyncState)

Return type:

Vector

classmethod get_location_from_sync_state(sync_state) Vector

Returns the location in world space

Parameters:

sync_state (MoverDefaultSyncState)

Return type:

Vector

classmethod get_move_direction_intent_from_inputs(inputs) Vector

Returns the move direction intent, if any, in world space

Parameters:

inputs (CharacterDefaultInputs)

Return type:

Vector

classmethod get_move_direction_intent_from_sync_state(sync_state) Vector

Returns the move direction intent, if any, in world space

Parameters:

sync_state (MoverDefaultSyncState)

Return type:

Vector

classmethod get_orientation_from_sync_state(sync_state) Rotator

Returns the orientation in world space

Parameters:

sync_state (MoverDefaultSyncState)

Return type:

Rotator

classmethod get_velocity_from_sync_state(sync_state) Vector

Returns the velocity in world space

Parameters:

sync_state (MoverDefaultSyncState)

Return type:

Vector

classmethod set_directional_input(inputs, direction_input) CharacterDefaultInputs

Sets move input from a unit length vector representing directional intent

Parameters:
Returns:

inputs (CharacterDefaultInputs):

Return type:

CharacterDefaultInputs

classmethod set_velocity_input(inputs, velocity_input=[0.000000, 0.000000, 0.000000]) CharacterDefaultInputs

Sets move input from a vector representing desired velocity c/m^2

Parameters:
Returns:

inputs (CharacterDefaultInputs):

Return type:

CharacterDefaultInputs