Collision mesh blocks clicking action object

Hey again,

stumbled upon a new problem:

I created a scene were I can walk around with trees and such - as not to get stuck in the trees due to collisions, I created a hidden collision mesh. So far so well, however, some objects are clickable and have an action attached. When these objects are behind the invisible collider, the action hand shows but the action is not triggered.

I created a simple example with a “sphere” in a collider “box” - when you click on the sphere, nothing happens. If you remove the collider from the scene, clicking the sphere works again.

See:

Is there any way to ignore the collision mesh for actions so the action of the mesh inside the collider is triggered?

You could force your collision box to not be pickable : https://www.babylonjs-playground.com/#R3L8NH#1

1 Like

Thank you soooo much for your help! :smiley:

1 Like