I want to rotate an object 90 degrees, the object is facing upwards and I want it animating to the right, I have this code in “init” :
go.animate(".", "rotation", go.PLAYBACK_ONCE_FORWARD, vmath.quat_rotation_z(-90), go.EASING_LINEAR, 4)
But when I run, it gives me weird behaviour, it acts as if it’s moving away (scaling down) and then it goes back, rotate to opposite direction, I don’t really understand what’s going on.