RE: [Flashcoders] Good Math script for sheet movement when dragedontable

2006-04-03 Thread INK .
. Thanks. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of f a r i d | s i l v a | a b o i d Sent: Monday, April 03, 2006 1:43 PM To: Flashcoders mailing list Subject: Re: [Flashcoders] Good Math script for sheet movement when dragedontable have you tried

Re: [Flashcoders] Good Math script for sheet movement when dragedontable

2006-04-03 Thread Alias
You could probably adapt the page drag mathematics from this article... http://www.oreillynet.com/pub/a/javascript/2004/09/03/flashhacks.html A good book to learn about trigonometry is the Complete Idiot's Guide to Algebra by W. Michael Kelly - it's very well written and mathematical

Re: [Flashcoders] Good Math script for sheet movement when dragedontable

2006-04-03 Thread eugen pflüger
i guess you are looking for something like this: http://www.intentionallies.co.jp this site is from yugo nakamura. very well scripted. someday i tried it by myself but unfortunaly didnt get it to work. my thoughts were this: on click on a sheet find the distance from the middle and set it to

Re: [Flashcoders] Good Math script for sheet movement when dragedontable

2006-04-03 Thread Seb L
yeah that's close...! What you need is a pendulum simulation, where the clicked point is the pivot, and the centre point is the weight (centre of gravity). I built something like this for www.jak2renegade.com, except there was gravity involved too. (check scene 2). Take out the effects of gravity