As I understand it object:rotate(x) rotates the object based on its current rotation so object:rotate(0) wouldn’t do anything.
I assume doing the following should work
[lua]rot = object.rotation
object:rotate(rot*-1)[/lua]
but is there any “cleaner” way of doing this? [import]uid: 129450 topic_id: 23396 reply_id: 323396[/import]