PDA

View Full Version : hitTest dilema (5)


tidalwv
12-12-2002, 12:33 AM
Howdy...

Anyway, I'm making a racing game in Flash 5, and the time has come (or so the Walrus said) to put in those pesky barriers that keep you from cutting the course.

My problem is that the barrier, and the point on the car that I want to test hitting the barrer, are in two entirely different movie clips.

I've tried sorting through localToGlobal(), but I haven't been able to get my head around it.

Here's a diagram on where things are:

_root
|------ plCar
| |------timing
|
|------ track
| |------barrier

I want to test the point timing hitting the unbounded region of barrier... therefore, with the 'true' argument in hitTest, testing the x and y coords of the timing object.

Any suggestions? :)

farafiro
12-12-2002, 06:44 AM
welcome tidalwv
I think this may help
http://outsideofsociety.idz.net/

tidalwv
12-12-2002, 06:36 PM
Fortunately, I got something from that site that could be useful... for something else :D

Unfortunately, I didn't find anything about my thing :(