- Home /
How to set up a space game with Evochron: Mercenary like controls?
Hey, I'm new to Unity (As in I got it yesterday) and would like to create a game i've been planning for the last few days. So far i've imported some models I made in Maya and for the first step I'd like to get to the point in which the player craft is flyable and has an attached 3rd person camera. I'd like to be able to fly with the mouse like in Evochron Mercenary along with these keys: W - Accelerate, S - Decelerate, A - Translate Left, D - Translate Right, Tab - Boost/Afterburner, Space - Brake. I don't won't to include inertia (In-game excuse is the use of Zero Point Energy :P) and wish to fly move aircraft like so no complete stop and rotation when turning as if the craft had ailerons. Kind of like the 'all-range mode' in Star Fox 64.
So far i've been having trouble getting scripts that I have found to work, especially camera scripts, but I did find a mouse flight script but wasn't to my liking.
Also is it possible to explain what variables do in the script? Just so I won't have to bother everyone too often :P
Here is a link I strongly suggest to all new users :
Start at the bottom and work up : http://www.unity3dstudent.com/category/modules/
this is the YouTube link for the above as one playlist : http://www.youtube.com/watch?v=-oXYHNSmTxg&list=PL27B696FB515608D2&feature=plcp
the Unity Wiki : http://wiki.unity3d.com/index.php/Tutorials
A list of resources : http://answers.unity3d.com/questions/12321/how-can-i-start-learning-unity-fast-list-of-tutori.html
As to your question : my normal response is Sorry, but your question is too broad. Unity Answers and its community is here to help you solve any Unity specific problems you have. You can try asking your question on the Unity Forums (http://forum.unity3d.com/), that is for discussion based questions.
Search on Unity aircraft and Unity flying.
http://answers.unity3d.com/questions/153308/flight-control.html
http://keithmaggio.wordpress.com/2011/07/01/unity-3d-code-snippet-flight-script/
It is also nice to provide a link demonstrating Evochron $$anonymous$$ercenary for those (like me) that have never heard of it. Then we can see the movement you are talking about.