-
So does anyone know what F5 has in store as far as collision detection is involved?
In F4 the best that could be done was to approximate the shape of the sprite using a bounding box, circle, or other shape, and check for intersections of these shapes.
It would be really great if there was a way to check for collisions of the actual sprite shapes, not just approximations.
Does anyone know if this feature is available in Flash 5, and if so how has it been implemented?
Cheers
Bangers
-
There are two types of collision detection in Flash5, but unfortunately I don't thibk either is what you're after.
You can detect collisions between two movies' bounding boxes automatically, or you can check to see if a point coincides with the actual shape of a movie clip. But you can't accurately detect collisions between complex shapes.
-
Thanks Stickman
Youre right, thats not exactly what I hoped for, but is does sound better than F4.
I have heard a little about the hitTest() function but not about the boundary stuff.
How do you go about detecting bounday collisions automatically? Do you know if this is implemented as an 'event' or is there a function that needs to be called to make the test?
Thanks
Bangers