MagiCats
Wiki home
Actions / Move

Turn To

Smoothly turns the subject to a chosen angle.

Current editor blockBlock ID 8TurnTo
Turn To code block in the MagiCats editor

What it does

Calls the smooth turn behavior with the number you provide.

Inputs

  • Angle in degrees, or a number operation.

Try it

Turn To 90 makes a watcher look upward.

Tips

  • If you need one of eight compass directions, Turn To Dir is easier.

Sources

Legacy pages reviewed: TurnTo

Code checked: MagiCats_UnityProject/Assets/Scripts/Blocks/ContentFonction.cs, MagiCats_UnityProject/Assets/Scripts/Blocks/BlockManager.cs