b00kworm |
11-07-2008 10:12 AM |
Bounding Box option
When trying to do collision detection, I started by trying to use the [I]when object is within threshold of object[/I] function. This didn't work because the distance is measured center to center, and after browsing the forums, I still couldn't find a good, definitive way to prevent collisions. In my opinion, the easiest way to fix that would be to provide an option that changes the distance and threshold measurement functions into 4 types: center to center, center to box, box to center, and box to box measurement.
|