⮞ Go to NeoFPS.com

    Show / Hide Table of Contents

    MatchTransform MotionGraphState

    Overview

    The MatchTransform state makes the character move as though it is attached to a transform in the scene. This allows you to sync the character to animated cut-scenes or create complex on-rails movement systems for certain situations.

    Inspector

    MatchTransform State

    Properties

    Name Type Description
    Target Transform Transform Parameter The transform to match to.
    Matching Mode Dropdown What transform components to match. Options are: Position (match the position but ignore rotation), PositionAndUp (match the position and keep the character up-vector aligned but ignore yaw), PositionAndDirection (match position and yaw direction or heading, but maintain the character's up vector), and All (match position, up vector and heading).
    Blend In Time Float The time taken to blend from current position and velocity to match the transform.
    Disable Collisions Boolean Should collisions be disabled for the duration of the movement.

    See Also

    The Motion Graph

    Motion Graph States

    Motion Graph Parameters And Data

    Back to top Copyright © 2019 Yondernauts Game Studios Ltd
    Generated with DocFX