How to make the ray pass through objects?

Hi,

I am having an issue with the movement system where the ray that is cast from the camera is getting blocked by object and causes the character to stand in one place.

I have this gate here and when my mouse is over it and I click it, the character won’t move.
How do I make sure the ray is shot through objects all the way to the ground?

image

PS. I wish there was a way to paint NavMesh areas like we paint terrain =/

I’d use the layermask and excude the layers you don’t want it to hit.

It depends on how you’ve set it up.

1 Like

This topic was automatically closed 20 days after the last reply. New replies are no longer allowed.

Privacy & Terms