- Home /
Question by
jellybeanstudios · Apr 28 at 09:32 AM ·
errorglitchdoorhow toclick objects
Disable Gameobject collision but still be able to use OnMouseDown() on it
so i have a door and when you click it opens and disables the box collider. but since the box collider gets disabled you cant close it. How do i fix this?
i want to make it so the character game object cannot collide with it but can still click it. note: it doesn't have a mesh renderer since i want it to be invisible don't know if that does anything.
door.png
(84.1 kB)
Comment
Your answer
![](https://koobas.hobune.stream/wayback/20220613055928im_/https://answers.unity.com/themes/thub/images/avi.jpg)
Follow this Question
Related Questions
FindWithTag returns NullReferenceException 0 Answers
Loading a scene in game with a GUI 1 Answer
Simple syntax error that I can't seem to find 2 Answers
"Failed to update Unity Web Player" 0 Answers
[Error] Error While Importing Packages 0 Answers