How to create a balance script based on the cursor position?
<p>I'm trying to do something very similar to this game. <a href="http://i301.photobucket.com/albums/nn42/playonlineflashgame/HomeRun.swf" rel="nofollow">http://i301.photobucket.com/albums/nn42/playonlineflashgame/HomeRun.swf</a></p>

<p>Although it's not a game, it's just a simple "balance" thing i'm trying to apply according to the movement of the cursor.</p>

<p>Same idea as the link i've provided up there where the guy starting swaying left and right according to where your cursor is. The think is that I've struggling to get the same smoothness like the effect you see in the game. Acceleration, innertia, gravity etc... not sure if it needs to be that complicated but the simpler the better.</p>

<p>So if anyone ever built or done anything like that who can help me out, I would appreciate for life?</p>
