Download Sample ⬇️
What does it do?
This sample demonstrates overriding Spatial’s avatar input by applying that input to another object in the scene and a simple example of an 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).
Try it here: https://www.spatial.io/s/Avatar-Input-Control-65e8f2f7712243c58226ffc6?share=8778887462591919439
The zombie animation is from Mixamo.
https://mixamo.com
Environment using assets from Unity’s Start Assets package.
https://assetstore.unity.com/packages/essentials/starter-assets-thirdperson-updates-in-new-charactercontroller-pa-196526
Spatial/Community
Spatial Official Sample ✅
Feature
C#Visual Script GraphAvatar Animation/EmoteEmbedded PackageInteractable
Created By
Kevin McCusker
Upload Date
March 6, 2024