Is there a way to pass through or stepover an element and interact with the one right behind it?
Say for example, having a plane and a box behind it, making somewhat the plane “passable” and interact with the box.
Is there a way to pass through or stepover an element and interact with the one right behind it?
Say for example, having a plane and a box behind it, making somewhat the plane “passable” and interact with the box.
Welcome aboard!
Set the checkCollisions
property to false
for the meshes you don’t want to be collisionable.
Thanks for your welcome!
The checkCollisions property doesn’t gave me the result I wanted, I don’t know if I explained myself. I mean when I click the plane, when it’s upfront the box, I want the box to be the one that actually gets clicked. Like bypassing the plane to get into the box.
So in this case set the plane.isPickable = false