Hello ! I’m trying to implement collisions in a game I’m making.
I’m using intersectsMesh for that, but even when my meshes touches, the “no collision” message is always displayed.
Here’s the function:
What am I doing wrong ?
Ty !
Hello ! I’m trying to implement collisions in a game I’m making.
I’m using intersectsMesh for that, but even when my meshes touches, the “no collision” message is always displayed.
Here’s the function:
Hey @ReineDeLaNight
It’s always considerably easier to help troubleshoot what may be happening if you can provide a playground whenever asking a question on the forum.
Here’s two resources that will hopefully help:
https://playground.babylonjs.com/#KQV9SA
Note that in this playground lines 59-80 show 3 different examples of how to handle mesh/point intersection
Hope this helps!
Thanks!