-
Collision Coordinates
Hey guys :
I have a simple question I am trying to find the intersection of two (or more) lines at random angle and coordinate. All I want are the coordinates of the intersections. I know there is a
checkForCollision(movieClip1,movieClip2,alphaTolerance);
But is there a way to find the occurrence?
Please help
-
-
Hmm...
I'm not sure what checkForCollision() is. It's definitely a custom function. You might have seen some code online and mistook it for a native method.
[blockquote]After some googling, I've learned that checkForCollision() is a method of Grant Skinner's custom CollisionDetection class. Have you installed this class in your project?[/blockquote]
Natively, AS2 has the hitTest() method but that only test is there is a hit. It doesn't return values of where the intersection point is.
The only way that I know of is to just do the calculations.
-
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
Bookmarks