The Author Online Book Forums are Moving

The Author Online Book Forums will soon redirect to Manning's liveBook and liveVideo. All book forum content will migrate to liveBook's discussion forum and all video forum content will migrate to liveVideo. Log in to liveBook or liveVideo with your Manning credentials to join the discussion!

Thank you for your engagement in the AoF over the years! We look forward to offering you a more enhanced forum experience.

import-bot (20211) [Avatar] Offline
#1
[Originally posted by inteplan]

I am developping a function that will detect the collision of two objects. I
was plannig two use the embedded collision detector of JAVA but until now, i
didn't get the expected result.

When I am bringing object A closer to object B, JAVA detects that they collide
before they "virtually" overlap (?!). It doesn't seem to be a bounding box
problem because they are not enough large to explain the result I got.

Do you have an answer to give me or an example to look to understand collision
in JAVA (something that is not based on simple geometry like CUBE and SPHERE)?


Thanks!
import-bot (20211) [Avatar] Offline
#2
Re: collision detection
[Originally posted by author]

Sorry, I haven't played with collision detection in a while. Perhaps someone
else here or on the mail list can help.

--jon