unreal.RootMotionModifier_PrecomputedWarp

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

Bases: RootMotionModifier_Warp

(Experimental) Precomputed warp computes the full path to alignment on the first frame of execution and then on following frames just applies that root motion. Only Suitable for stationary targets.

C++ Source:

  • Plugin: MotionWarping

  • Module: MotionWarping

  • File: RootMotionModifier_PrecomputedWarp.h

Editor Properties: (see get_editor_property/set_editor_property)

  • actual_start_time (float): [Read-Write] Actual playback time when the modifier becomes active

  • add_translation_easing_curve (CurveFloat): [Read-Write] Custom curve used to add translation when there is none to warp. Only relevant when AddTranslationEasingFunc is set to Custom

  • add_translation_easing_func (AlphaBlendOption): [Read-Write] Easing function used when adding translation. Only relevant when there is no translation in the animation

  • align_offset (Transform): [Read-Write] Offset from Root (or AlignBone) to Align to the target transform

  • animation (AnimSequenceBase): [Read-Write] Source of the root motion we are warping

  • current_position (float): [Read-Write] Current playback time of the animation

  • disable (Name): [Read-Write] Bool variable which will disable this notify

  • enable_steering (bool): [Read-Write] Steering will rotate the character based on the difference between the animated movement direction and the warped movement direction, to keep the character facing their direction of movement

  • end_time (float): [Read-Write] End time of the warping window

  • force_target_transform_upright (bool): [Read-Write] only allow Yaw in the target transform (remove other rotations before warping)

  • ignore_z_axis (bool): [Read-Write] Whether to ignore the Z component of the translation. Z motion will remain untouched

  • play_rate (float): [Read-Write] Current play rate of the animation

  • previous_position (float): [Read-Write] Previous playback time of the animation

  • rotation_method (MotionWarpRotationMethod): [Read-Write] The method of rotation to use

  • rotation_type (MotionWarpRotationType): [Read-Write] Whether rotation should be warp to match the rotation of the sync point or to face the sync point

  • rotation_warping_curve (PrecomputedWarpCurve): [Read-Write]

  • separate_translation_curves (bool): [Read-Write]

  • start_time (float): [Read-Write] Start time of the warping window

  • start_transform (Transform): [Read-Write] Character owner transform at the time this modifier becomes active

  • steering_settings (PrecomputedWarpSteeringSettings): [Read-Write]

  • subtract_remaining_root_motion (bool): [Read-Write] Should root motion after this notify state be subtracted from warp target transform.

    This means actor will arrive at warp target transform when the animation finishes, not when the notify ends

  • total_root_motion_within_window (Transform): [Read-Write] Total root motion within the warping window

  • translation_warping_curve (PrecomputedWarpCurve): [Read-Write]

  • translation_warping_curve_in_movement_direction (PrecomputedWarpCurve): [Read-Write] curve for warping translation in direction of movement

  • translation_warping_curve_out_of_movement_direction (PrecomputedWarpCurve): [Read-Write]

  • update_mode (PrecomputedWarpUpdateMode): [Read-Write]

  • warp_max_rotation_rate (float): [Read-Write] Maximum rotation rate in degrees/sec. Will be the value used in constant rotation rate

  • warp_point_anim_bone_name (Name): [Read-Write] TODO:: Hide from the UI when Target != Bone

  • warp_point_anim_provider (WarpPointAnimProvider): [Read-Write]

  • warp_point_anim_transform (Transform): [Read-Write] TODO:: Hide from the UI when Target != Static

  • warp_rotation (bool): [Read-Write] Whether to warp the rotation component of the root motion

  • warp_rotation_time_multiplier (float): [Read-Write] Allow to modify how fast the rotation is warped. e.g if the window duration is 2sec and this is 0.5, the target rotation will be reached in 1sec instead of 2sec

  • warp_target_name (Name): [Read-Write] Name used to find the warp target for this modifier

  • warp_to_feet_location (bool): [Read-Write] Whether we warp the actors location or their foot location to the warp target

  • warp_translation (bool): [Read-Write] Whether to warp the translation component of the root motion

  • weight (float): [Read-Write] Current blend weight of the animation

set_align_offset(new_transform) None

For automating setting the AlignOffset at the end of the NotifyState

Parameters:

new_transform (Transform)