Hi
I try to find a simple fps camera script where I can move my game camera by clicking my mouse left button only! No keyboard manipulation! There’s so many info here but I just can’t find something
Thanks for your help
Hi
I try to find a simple fps camera script where I can move my game camera by clicking my mouse left button only! No keyboard manipulation! There’s so many info here but I just can’t find something
Thanks for your help
Can you describe the control system that you have in mind?
Hi Jesse
Well what I want to do is to modify my FPS Walker script to let me move forward in my scene by my mouse left button instead of the W key or the arrow key.
I just don’t want to touch my keybord when am moving in my scene. Right button can be moving backward!
Thanks
Alex
You can easily do this by setting the buttons in your project preferences.
Go to Edit>Project Settings>Input, and then change your ‘w’ and ‘s’ buttons (under the ‘vertical’ tab) To be your Left Click and Right Click buttons. (No scripting necessary :3)
Be aware though, not all computers have a ‘right click’. So if you’re planning it to be a muti-user project (usable on all computers), you may have problems on a mac (one mouse button).
And I say -MAY- because macs do in short have a right-click but it’s not exactly a right-click, it’s more of a control-click (not Command-Click)
Thanks for the tips Teriki
And Yes am a pc user ![]()
Ok am going to try this!