[HELP] Check whether two objects overlap

You are trying to collide geometry vs geometry which doesn’t work. You can only collide bounding volumes vs geometry. Do spatial.collideWith(boundingVolume), not the other way. Rays also work for this kind of collision. For everything else you have to use bullet where you can sweep any shape or use rays as well.

thank you normen…

but what is a boundingVolume…

Is there a SampleCode or some like that…??



Schnacko

https://wiki.jmonkeyengine.org/legacy/doku.php/jme3:advanced:collision_and_intersection?s[]=bounding&s[]=volume

oh yes i see…

thank you…

i will try it!



schnacko