Return to Snippet

Revision: 58695
at July 29, 2012 09:55 by burakkirkil


Initial Code
var force = 20;
var t = 0;

function swing()
{
    t += 0.3;
    this._rotation = Math.cos(t) * force;
}

Initial URL


Initial Description
Simple swing animation logic

Initial Title
Animation - Swing

Initial Tags


Initial Language
ActionScript 3