Trajectory Move
Trajectory Move is the shared base for Teleport and Dash. It draws an arc, validates the destination, and optionally displays the character’s destination rotation. Teleport performs the accepted move immediately; Dash travels to it at the configured speed.
The arc uses a Line Renderer, whose material and properties can be styled for the project. The optional surface indicator marks the hit point and, when Allow Rotational Changes is enabled, shows the direction the character will face.
Key settings
Start Trajectory Offset
The offset of the trajectory start point.
Cast Radius
The radius of the cast when determining if a location is valid.
Allow Rotational Changes
Should the character be rotated based on the directional input?
Min Axis Magnitude
The minimum value of the axis in order for it to be considered a valid movement direction.
Perform Movement Button Name
The name of the button when the ability should perform its movement.
Perform Movement Magnitude
Perform the movement when the axis magnitude is less than the specified value. This is only used for Vive headsets.
Trajectory Object
The object which draws the trajectory.
Valid Location Color
Color that indicates a valid teleport location.
Invalid Location Color
Color that indicates an invalid teleport location.
Color Change Duration
Specifies the lerp duration for changing the color.
Surface Identifier
The transform used to indicate the surface. Can be null.
Surface Indicator Offset
The offset when positioning the surface indicator.
Adjust Surface Indicator Color
Should the surface indicator’s material color be adjusted?
Verify in Play Mode
Aim at a valid surface, an invalid surface, and beyond the allowed cast. Confirm that the arc and indicator use the corresponding colors and that movement occurs only for the valid result. When rotation changes are enabled, adjust the input direction before release and confirm that the indicator matches the character’s final facing direction.