Flasher Archive

[Previous] [Next] - [Index] [Thread Index] - [Previous in Thread] [Next in Thread]


Subject: Re: FLASH: collision detection?
From: Gregg Caines
Date: Sat, 6 Jan 2001 17:40:17 GMT

Look up movieclip.hitTest() in your actionscript reference.
That should be enough to get you started.

---------------------------------------------------
Gregg Caines
n e o m e t r i x systems inc.
http://www.neometrixsystems.com
gcainesatneometrixsystems [dot] com


> Help please!
>
> I am building an animation that has 15 balls that bounce around, randomly,
> off the walls of a confined area. This much is finished, part two is that
I
> want to script each ball so that when they come into contact with each
other
> they will bounce off in a random direction(much like they do the walls). I
> know there is a way to do this using collision detection but I have no
idea
> how. I need to make serious progress on this soon, any information would
be
> greatly appreciated.
> Thanks in advance,
> Bill Gunter
> iStream Interactive



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
flasher is generously supported by...
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
flashforward2000 and the Flash(tm) Film Festival
November 27-29, 2000, LONDON, National Film Theatre

Produced by United Digital Artists and lynda.com
-Sponsored by Macromedia, Adobe Systems and Apple Computer
-http://www.flashforward2000.com or UK tel. +44 (0870) 751 1526
Register before November 10 and save �200
http:// www.flashforward2000.com
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
To unsubscribe or change your list settings go to
http://www.chinwag.com/flasher or email helpatchinwag [dot] com


Replies
  RE: FLASH: collision detection?, Bill Gunter

[Previous] [Next] - [Index] [Thread Index] - [Next in Thread] [Previous in Thread]