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 and you get what you're
looking for.

If I wasn't snowed under building a 3D shootout game in Flash, I'd dig
out the code...

cheers
Seb

On 03/04/06, eugen pflüger <[EMAIL PROTECTED]> wrote:
> 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
> be the new origin (thats the new rotation point).
> then you have to find out in which direction the sheet should turn -
> calculate some forces...depending on the drag movement....
> something like this :)
>
>
>
> Am 03.04.2006 um 14:22 schrieb 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
> > beginner-friendly.
> > http://www.amazon.com/exec/obidos/tg/detail/-/1592571611?v=glance
> >
> > You won't get far in flash development without a basic knowledge of
> > trig,
> > and besides, it starts to be fun after the first couple of years :)
> >
> > Hope this helps,
> > Alias
> > _______________________________________________
> > [email protected]
> > To change your subscription options or search the archive:
> > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
> >
> > Brought to you by Fig Leaf Software
> > Premier Authorized Adobe Consulting and Training
> > http://www.figleaf.com
> > http://training.figleaf.com
> >
>
>
>
>
>
>
>
>
> plugisto
> ...........................
> eugen pflüger
>
> alexanderstr. 109
> 70180 stuttgart
>
> fon     +49.711.6739797
> mobil   +49.177.6428272
> e-mail  [EMAIL PROTECTED]
> ...........................
> http://www.plugisto.net
> http://itself.pmalc.de
> http://www.lifeperformance.net
>
>
> _______________________________________________
> [email protected]
> To change your subscription options or search the archive:
> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>
> Brought to you by Fig Leaf Software
> Premier Authorized Adobe Consulting and Training
> http://www.figleaf.com
> http://training.figleaf.com
>
_______________________________________________
[email protected]
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com

Reply via email to