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_location_from_sync_state(sync_state) Vector ¶
Returns the location in world space
- Parameters:
sync_state (MoverDefaultSyncState) –
- Return type:
- classmethod get_move_direction_intent_from_inputs(inputs) Vector ¶
Returns the move direction intent, if any, in world space
- Parameters:
inputs (CharacterDefaultInputs) –
- Return type:
- 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:
- classmethod get_orientation_from_sync_state(sync_state) Rotator ¶
Returns the orientation in world space
- Parameters:
sync_state (MoverDefaultSyncState) –
- Return type:
- classmethod get_velocity_from_sync_state(sync_state) Vector ¶
Returns the velocity in world space
- Parameters:
sync_state (MoverDefaultSyncState) –
- Return type:
- classmethod set_move_intent(inputs, world_direction_intent) CharacterDefaultInputs ¶
Sets move inputs from worldspace intent, as a per-axis magnitude in the range [-1,1] Zero vector indicates intent to stop.
- Parameters:
inputs (CharacterDefaultInputs) –
world_direction_intent (Vector) –
- Returns:
inputs (CharacterDefaultInputs):
- Return type: