⌚
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
    • đŸŽ›ī¸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
  • Look At Editor
  • Target Mode
  • Global Target
  • Custom Target
  • Main Camera
  • World Position
  • Rotation Mode
  • Look At
  • Match Rotation
  • Up Vector
  • Orientation
  • Lock Axis
  • Smooth Time
  • Starting Rotation
  • Override
  1. Reference
  2. Behaviors
  3. Automation

Look At

Rotate to face towards a target object

PreviousFollowNextLook At Target

Last updated 2 years ago

Apply this behavior to an object to make it automatically rotate to face towards another object.

To add Look At, right-click on an object in the Timeflow view and select:

Add Automation > Look At

Look At has just 1 read-only channel outputting the calculated rotation.

Look At Editor

Select an object to view the settings in the Inspector.

Target Mode

Select the desired target from the drop-down menu in the menu bar.

Global Target

Global Target is the default setting and facilitates in quickly setting up lots of objects to all face the same global object.

Custom Target

Use this mode to explicitly specify an object to look at.

Main Camera

Uses the primary camera tagged with MainCamera.

World Position

Uses a fixed position defined in world coordinates.

If the target object is invalid or cannot be found, Look At fails silently and is skipped, having no effect on the object's rotation.

Rotation Mode

Select from 2 modes for generating rotation

Look At

Calculates rotation to face towards the target object. This is the default mode.

Match Rotation

Instead of facing towards the object, this mode copies the rotation of the target object (in world coordinates).

Matching rotation is useful for placing objects on the camera plane. When dealing with sprites or planar objects, this mode prevents skewing which can occur with Look At rotations, instead placing objects perpendicular (or parallel) to the target object.

Up Vector

Defines the upward direction of the object. This field expects a normalized vector (adding up to 1), usually one of the cardinal directions (1,0,0 or 0,1,0 etc...) however any value may be entered.

Orientation

Applies additional rotation to the object. Use orientation to further adjust the rotation angle.

World Space

Lock Axis

Use the toggle switches to lock the final rotation on specific axes.

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

Smooth Time

Applies temporal smoothing defined in seconds. The higher the value, the slower the object rotates. Set to zero for no smoothing, applying the look at calculation immediately.

Starting Rotation

When using Smooth Time, the starting rotation provides additional control for what orientation the object has initially. Use this to adjust the starting placement of the object before Look At takes full control.

Click Set to capture the current object rotation, and Goto to apply the value to the object rotation immediately.

Play the timeline for accurate previews

Temporal smoothing requires continuous forward play for accurate calculation. When jumping in time, such as rewinding or moving the playhead in the Timeflow view, Look At reverts to the initial rotation and may not be accurate until playback resumes.

Override

In situations where an object may use Look At during only parts of an animation, the override features may be used to take back control of an object's rotation using animation channels or any other means in Timeflow.

The override value sets the objects rotation. Use Blend to interpolate between the calculated look at rotation and the override value.

The override and blend values may be animated in Timeflow or controlled via script to transition objects from Look At control to other movement.

Look At overrides the objects rotation. To preform blending or additional operations, it may be helpful to place Look At on a parent object, or to use .

For common features please refer to and .

Uses the currently active .

Look At rotations are calculated in world space coordinates. Whenever Look At is in use, it automatically sets to world space mode.

đŸĒ„
🤖
👀
Channel Link
Menu Bar
Update Settings
Look At Target
Rotator
The Look At Rotation channel shows the calculated value and does not support keyframing.
Click the Select button to select the current active target in the scene.