Description
Applies a new Euler rotation to a previously spawned static object, overriding its current orientation. Does not affect the object's position or scale. Supports reevaluation for continuously rotating objects. Useful for spinning props, directional indicators, or editor rotation handles.
Snippet
Set Object Rotation(Last Created Object, Vector(0, Total Time Elapsed * 90, 0));
Properties
Returns: Void
Parameters: Object, Rotation
Object
Type: Object, Default: Last Created Object
The static object whose rotation will be set.Rotation
Type: Vector, Default: Vector(0, 0, 0)
The new Euler rotation in degrees on each axis. Supports reevaluation.