intersecting meshes

Hi Everyone!

Is there a method available to nodes that determines if its mesh is intersecting with another mesh? Something like:

characterNode.intersectingWith(characterNode2)

Perhaps something that would return True or False.

Hope you could help me here. Thanks! :smiley:

depends on how accurate your check needs to be.
if a really rough check against the bounding volumes is allready sufficent you can do node.getDistance(othernode) .if you know the size of both you’r already done with it.

if you need more accurate checks you need propper collision detection. please read the manual pages about it. for trimesh-trimesh collision you might need to use ODE.

oh my… collision… that never crossed my mind…

i guess i’ll be checking out the ODE modules then…

thanks thomas!!!

:slight_smile: