Notifications
Clear all

[Closed] Set rotation on world Y-Axis

Hi

Is there an easy way to set the rotation of an object along it’s Y-Axis in the world coordinate system?

I specifically want to set the Y-Rotation to zero on an arbitrary rotated object. Doing this inside 3ds max can be done by a click of a button, but scripting it seems to be tougher, and I just can’t figure out how to do that.

thanks,
David

1 Reply

How about it?
<node>.rotation.y_rotation = 0