Euler Rotation


Setup

Scripts

euler_rotation.script

function init(self)
    -- rotate clockwise one full revolution in two seconds
    go.animate(".", "euler.z", go.PLAYBACK_LOOP_FORWARD, -360, go.EASING_LINEAR, 2)
end

If you want to play with these examples, you can get the project on Github.

Do you want to see more examples? Why not write a few yourself and submit a pull request? We love contributions.

GITHUB