⌚
Timeflow
  • ⌚Introduction
  • 📗User Guide
    • â–ļī¸Getting Started
      • ✅Requirements
      • âŦ‡ī¸Installation
      • 🚀Quick Start
      • âœī¸Workflow
      • đŸŽŦRender Pipeline
      • â¯ī¸Editor vs Runtime
      • đŸĻŋHow it Works
      • â›‘ī¸Potential Issues
      • ⚡Optimization
      • 🔨3rd Party Tools
      • đŸ”ĸUpgrading Guide
    • â„šī¸Timeflow Editor
      • đŸŽ›ī¸Menu Bar
      • â˛ī¸Time
      • Local Time Scope
      • 🧰Work Area
      • âš™ī¸Settings
      • âŗUpdate Settings
      • đŸ“ēDisplay Lists
      • đŸ”ģMarkers
      • đŸ”ĩObject
      • 🏭Managed Objects
      • ⚡Quick Select Objects
      • âš’ī¸Tools
    • đŸŽŦTimeflow View
      • 🔩Toolbar
        • 🔑Auto Keyframing
        • â¯ī¸Play Controls
        • đŸĨ…Work Area
        • â¯ī¸Current Time
        • đŸŽŧMusical Timing
        • 🌐Grid and Snap
        • 🔸Keyframe Values
        • đŸ”ģMarkers
      • â˛ī¸Timeline
      • 📐Time Navigation
      • Local Time Scope
      • 🎏Track View
      • â†˜ī¸Selection
      • 📰Object Panel
      • đŸ“ēDisplay Lists
      • 🍱Channels
      • đŸŖProperties
      • 🔗Channel Link
      • đŸšĨSwitches
      • 📅Values Column
      • đŸ›¤ī¸Tracks
      • 🔸Keyframes
      • đŸ“ļAlignment Tools
      • ⌛Time Offset
      • đŸ”ĸInfo Panel
      • 📉Graph View
      • âœ‚ī¸Keyframe Tools
    • 🍰Menus & Shortcuts
      • 📃Context Menus
        • â†–ī¸Select Menu
        • 📰Object Menu
        • 🍱Channel Menu
        • đŸ›¤ī¸Tracks Menu
        • 🔸Keyframes Menu
        • đŸ”ģMarkers Menu
        • 📰View Menu
        • 📰Events Menu
        • đŸĨ…Work Area Menu
      • đŸ—ƒī¸File Menu
      • âš’ī¸Timeflow Menu
        • đŸ•ēAdd Behavior
        • đŸ”ļAnimation
        • 🍱Composition
        • đŸ“ēDisplay
        • ⏊Jump To
        • 👨‍đŸ‘Ļ‍đŸ‘ĻHierarchy
        • 🌐Mesh
        • 👉Select
        • 📚Tracks
        • 🌈Track Colors
        • â†”ī¸Transform
        • đŸ‘ī¸Visibility
        • đŸ› ī¸Editor
      • đŸ”ĩGame Objects Menu
      • đŸŽ›ī¸Presets
      • âš™ī¸Preferences
        • Assets
        • ⌛Time
        • đŸŗī¸â€đŸŒˆTracks
        • âšĒObjects
        • 🧮Channels
        • đŸ”ļKeyframes
        • 🔠Input
        • đŸ“ĨImport
        • đŸ–ŧī¸Rendering
        • đŸŽ›ī¸Overrides
        • 🍱Extras
      • *ī¸âƒŖKeyboard Shortcuts
        • Managing Shortcuts
      • âœ´ī¸Quick Menu
  • Reference
    • đŸ”ĩTimeflow Object
      • đŸĸTracks
      • 🏭Behaviors
      • ⏰Events
      • đŸ—ƒī¸Channels
    • 💃Timeflow Controller
      • đŸŽžī¸Timeflow Playback
    • đŸĒ„Behaviors
      • đŸŽžī¸Animation
        • 🔸Keyframer
        • â†”ī¸Tween
        • 🔀Blend
        • đŸŽĸMotion Path
        • đŸ‘¯Animation Clips
        • 🌴Animator Blend Trees
        • 😁Blend Shapes
      • 🤖Automation
        • 🛸Auto Bank
        • 🧭Auto Rotate
        • 📐Distance
        • ⏰Event
        • đŸ›Šī¸Flyby
        • 🏃Follow
        • 👀Look At
        • đŸŽ¯Look At Target
        • 🎲Noise
        • 🚊Place On Path
        • đŸī¸Place On Surface
      • 🔊Audio
        • 🔊Audio Track
        • đŸŽŧAudio Spectrum
        • đŸŽĩAudio Sample
        • đŸŽ™ī¸Audio Reactive
      • 🎹MIDI
        • 🎹Midi File
        • đŸĨMidi Tween
        • 📡Midi Receiver
          • đŸŽ›ī¸Minis Setup (New Input System)
          • đŸšĨMidiJack Setup (Legacy Input)
      • 🏁Rendering
        • đŸŽžī¸Render To Disk
        • 📋Render Queue
        • đŸ“Ŋī¸Video Encoding
        • 💡Tips & Optimizations
        • âēī¸Unity Recorder
      • 🔧Tools
        • â„šī¸Animator Info
        • 🧮Align Children
        • đŸ’ŦComment
        • #ī¸âƒŖFPS Counter
        • 📈Graph
        • 🔗Property Link
        • 🔄Rotator
        • ✨Particle System Update
        • 🌈Trail Renderer Update
        • đŸ“ēVideo Player Update
    • đŸ—ƒī¸Precomposing
    • 🏭Prefabs
    • 🎨Advanced Presets
    • đŸŽ›ī¸Editor Overrides
      • 🏹Transform Editor Override
    • 🔌Integrations
      • đŸ§™â€â™‚ī¸Adventure Creator
      • đŸŽ›ī¸MIDI Jack | Minis
      • đŸ¤ēSpine Animation
      • đŸ“Ŋī¸Unity Timeline
      • ➰Unity Splines
    • đŸĒSamples
      • đŸ•šī¸Demo App
      • đŸŽžī¸Cutscenes
      • 🏓Physics
      • 🍧Shader Properties
      • ⚡Visual Effect Graph (VFX)
    • 📖Glossary
    • 📗Scripting
    • đŸ“ŖPublished Works
    • âš ī¸Known Issues
    • 🆘Support
    • đŸ§ĒBeta
    • Roadmap
    • đŸ”ĸVersion History
    • ÂŠī¸Terms & Privacy
Powered by GitBook
On this page
  • Auto Rotate Editor
  • Calculate Only
  • Orientation
  • Up Vector
  • Invert Direction
  • Smooth Time
  • Lock Axis
  • Enable Override
  1. Reference
  2. Behaviors
  3. Automation

Auto Rotate

Rotate to face the direction of travel

PreviousAuto BankNextDistance

Last updated 8 months ago

This behavior aligns an object to face (or otherwise orient itself) in the direction it is moving. This can be used with any object motion, no matter how it is being moved, even if indirectly through parental movement.

To add Auto Rotate, right-click the object in the Timeflow view and select:

Add Automation > Auto Rotate

World Space This behavior uses world space coordinates to calculate absolute position and rotation. Using local space is not applicable, however final local space rotation may be retrieved by accessing transform.localEulerAngles, or by exposing the Local Rotation channel in Timeflow.

Auto Rotate Editor

Play for Accurate Preview

This behavior is calculated frame-by-frame and requires continuous forward play to accurately calculate rotation. When time skips or rewinds, the resulting rotation may be inaccurate, but auto-corrects upon play.

Calculate Only

Enable this option to calculate auto rotation without applying it to the transform.

Orientation

Sets the overall heading of the object. Adjust the orientation to make the object face the intended direction. The default settings assume the +Z axis is forward.

Up Vector

Determines which axis is upward for the object. The default and most common value is (0, 1, 0) however may be changed depending on the situation.

Invert Direction

Flips the Auto Rotate direction 180 degrees. This is a quick way to fix an object that is facing the opposite direction than intended.

Smooth Time

Applies temporal smoothing to average out movement and reduce bumps and jitter.

A small amount of smoothing (under 1 second) is generally recommended. If zero or too small amount is entered, the resulting rotation may be prone to abrupt changes and jitter due to minor movements and precision errors. Larger values have a dampening effect, making the rotation sluggish.

Lock Axis

Restricts which axis are affected by Auto Rotate. This is most often used to fix an object on a plane, or when combining with other behaviors such as Auto Bank.

Each locked axis is assigned the Orientation value as the default.

If all axis are locked, Auto Rotate won't do anything! Unless this is intentional, make sure at least 1 axis is unlocked.

Enable Override

Auto Bank vs Auto Rotate?

Conflicting Rotations?

It is often helpful to apply Auto Rotate on a separate parent transform so that it is isolated and does not interfere with other rotations. This uses the hierarchy to essentially layer transforms atop one another.

This is typically only needed for complex movements, such as when animating a vehicle or a camera rig.

For common features please refer to and .

The main use case for Calculate Only is when rotation data is being relayed through a or script for further calculation or to drive effects.

Up Vector may be set to any value though generally expects one of the cardinal directions (0,0,1) or (1,0,0) or (0,1,0) as defined in Unity . Other values are allowed but may cause odd rotations.

At first glance these behaviors may appear to do the same thing, but are quite different in the results produced. While both are based on movement, calculates just 1 axis of rotation from 1 axis of lateral movement, whereas Auto Rotate aligns the object on all axis to face the direction the object is traveling.

đŸĒ„
🤖
🧭
Menu Bar
Update Settings
Channel Link
Vector3
Auto Bank
Auto Rotate has just 1 channel which outputs the calculated rotation.
Shows the X and Z axis locked, so only the Y axis is calculated by Auto Rotate.