Back to Templates
Avatar Input Control

by Spatial

Avatar Input Control

Override Spatial's avatar input by applying it to another object in the scene. Includes examples in Visual Scripting and C#.

C#

Avatar

Avatar Animation

Visual Scripting

Avatar Input Control

This project demonstrates overriding Spatial’s avatar input by applying that input to another object in the scene in the context of a simple endless runner.

In the scene there’s three examples:

  • Red cube: uses Visual Scripting to override the input
  • Green cube: uses C# to override the input
  • The DREADMILL: simulates an endless runner where a looping animation is played and the player can move in one of two spots (left or right).

Assets: