- Home /
Question by
newagenoah · Jun 21, 2013 at 04:12 PM ·
errorobject
How to return true if object is in invisible object?
My character is inside an invisible object. I want it to return true when my character is inside the invisible object. What keyword am I missing?
Comment
You haven't provided enough information for us to answer you. How are you deter$$anonymous$$ing if an object is invisible. What type of object is it? What have you tried? What does your code look like?
I'm really just hoping for a link in the unity reference that could help me.
We can't provide a reference to something if you don't explain what you are trying to do.
Answer by trvr · Jun 21, 2013 at 04:33 PM
How about adding a trigger collider to an empty game object, then using OnTriggerEnter to check it?