Selector Confusion -- From Mouse Point
Posted: Sat Mar 12, 2016 11:55 pm
Sorry for the Question Once more!
I was just having one last problem/Confusion with how the system worked. I had set up a selector on the Main Camera, as the object didn't move and there'd be only one of it during the entire game. I set it up for 2D selection and movement, and likewise put the OnUse Trigger, Box Collider 2d and Conversation Trigger on the test object.
So the issue comes from 'Mouse Position' and how it actually works. I had figured that by selecting it, the Camera could remain static, and the player would be allowed to use their mouse to click on an object on the screen. However, it seems like the issue thus becomes that Unless its directly in front of the camera, it wont work. And since I don't want the camera to move at all.. I'm not entirely sure of what the work around is, or if I did something wrong.
Some pictures:
http://puu.sh/nEE6M/05e0ad376b.png --> Object is placed in front of it, and it is thus detected.
http://puu.sh/nEE9y/f97ba05388.png --> Object moved away from the camera, and isn't detected. My Screen capture isn't showing the fact the mouse is atop of it, but even when it is, it doesn't seem to change anything.
Did I do something wrong with how to set it up for a 2D environment, to select objects on the screen?
Thanks once again,
Ark
I was just having one last problem/Confusion with how the system worked. I had set up a selector on the Main Camera, as the object didn't move and there'd be only one of it during the entire game. I set it up for 2D selection and movement, and likewise put the OnUse Trigger, Box Collider 2d and Conversation Trigger on the test object.
So the issue comes from 'Mouse Position' and how it actually works. I had figured that by selecting it, the Camera could remain static, and the player would be allowed to use their mouse to click on an object on the screen. However, it seems like the issue thus becomes that Unless its directly in front of the camera, it wont work. And since I don't want the camera to move at all.. I'm not entirely sure of what the work around is, or if I did something wrong.
Some pictures:
http://puu.sh/nEE6M/05e0ad376b.png --> Object is placed in front of it, and it is thus detected.
http://puu.sh/nEE9y/f97ba05388.png --> Object moved away from the camera, and isn't detected. My Screen capture isn't showing the fact the mouse is atop of it, but even when it is, it doesn't seem to change anything.
Did I do something wrong with how to set it up for a 2D environment, to select objects on the screen?
Thanks once again,
Ark