Updates the rotation transform of the GameObject.
GameObject reference
The value in radians to rotate the GameObject clockwise by
the GameObject reference passed in
update_rotation(create_text('Hello world!'), math_PI); Copy
update_rotation(create_text('Hello world!'), math_PI);
Updates the rotation transform of the GameObject.