- Home /
MouseOver Doesn't work ON trigger
i use the OnMouseOver function....but it only work on collider that is not a trigger...is there a way to make it work on a trigger!!!
Answer by Kacer · Aug 28, 2012 at 10:59 AM
Why do you need it to work on a trigger?, the easy way, in my opinion, would be to add another collider on top of the trigger, but make that collider in-collideable with anything but the mouse.
Answer by hotozi · Aug 28, 2012 at 02:23 PM
yeah!! i did it...but like a said...if a collider is infront of my screen!! i cant see the lens flares
You have been told already. If you have a comment to an answer, use the comment function. This is not an answer to the question.
Answer by hotozi · Aug 28, 2012 at 01:40 PM
because collider is hiding my lens flare.....but i can i do what you said?
Just answer with a commen ins$$anonymous$$d of posting new answers :)
You can have a collider without a mesh, if you just make an empty gameobject, then add a collider to it, that should do the trick.
Your answer
Follow this Question
Related Questions
Multiple Cars not working 1 Answer
Having problems when using triggers 1 Answer
Why is my script not working like it should 3 Answers
OnCollisionEnter not getting calle! 1 Answer
Problem with OnTriggerEnter() 1 Answer