I Cant seem to get a Object to detect A Mouse Click while using A First Person Controller
My Game Use's the first person Controller and I can't get to recognize a mouse Click. If i take the Cube out of my controller it works but if a add to to move with the controller i can't seem to get it to see a mouse click on my Cube.
here is what i got so far var Object1 : Transform; var CHK : boolean = false;
function OnMouseOver() { if(Input.GetMouseButtonDown(0)){ CHK=true; print("Mouse Button 1 was Clicked") } } any help would be nice
Answer by undead504 · Nov 04, 2015 at 11:13 PM
Ok here is what I did I took a way the rigidbody from the First Person Controller and Bam it now works I dont know wht but it does if any one knows why i would love to lean it but thanks any ways
Your answer
Follow this Question
Related Questions
Unable to join player connection alternative multicast group. 1 Answer
Next Level Using numbers 5 Answers
camera falling down when following player!! 1 Answer
Errors in my script 0 Answers