Set Rotation

Description #

Instantaneously set the rotation of an object to the position of another object.

Time Based #

Not a time-based block (won’t take time to finish execution).

Inputs #

This block has 3 Inputs:

  • Sequential Input.
  • GameObject: The game object to set its rotation. If connected to a game object it overrides the game object you are writing the code inside. If not, by default, it is the object you are writing code inside.
  • Rotation: The target rotation.

Outputs #

This block has only one Sequential Output.

Example #

Cube-1 will Rotate depending on the rotation of Camera_0.

Powered by BetterDocs