Rotate the Game Object around any axes by any degree in a given time.
Time Based #
This is a Time-Based block (takes time to execute and holds the code sequence following it until it finishes executing.)
This block has 4 inputs.
- Sequential Input
- GameObject: The game object to be rotated. 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.
- Angle: The degree of rotation. If connected to an Integer or Float variable it overrides the value of the Angle.
- Time: The Time to rotate the game object. If connected to an Integer or Float variable it overrides the value of the Time.
This block has only one Sequential Output.
Axes: The axes to be rotated around.