PDA

View Full Version : Bounding Box option


b00kworm
11-07-2008, 11:12 AM
When trying to do collision detection, I started by trying to use the when object is within threshold of object 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.