Answer the question
In order to leave comments, you need to log in
How to check if an object is visible?
There is a building, on the roof there is a collider with a trigger, when the character enters the roof is removed. There is a box in the building, on which there is also a collider. The character should only be able to interact with it when it is visible. I send a beam through the raycast and it sees the box collider, regardless of the presence of a roof over it. How to make it not interact?
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question