Detecting Collisions


Detecting Collisions

I’ve been playing a lot of Grand Theft Auto IV lately. One of the mini games within the game is playing darts. To be honest, darts in GTA is way too easy to play. It had me thinking about making a game of darts within SL. I figured as long as I could get the x/y position of where a dart hit an object, the rest would be some simple trigonometry to determine what area was hit. Unfortunately, collisions don’t provide a method in which the x/y position was collided with, or the face that was hit. There is a dection available on the objects position, but it is based on the center of the object rather then the point of collision. Rotating the dart board at odd angels makes the problem worse.

Woodbridge (101, 79) - May 10, 2008 (112 days ago) by Dedric Mauriac

Tags for this Snapshot

angels area auto based board center collided collision collisions dart darts dection detecting determine easy face figured game games grand gta hit honest iv long lot makes making method mini object objects odd play playing point position problem provide rest rotating simple sl theft thinking trigonometry woodbridge worse x y

Leave a Comment

You're not logged in. If you want to post a comment, please log in.