Unity Scripting: Scripting the Player Controller
In this tutorial, we will finally get that Lander pod moving, and looking pretty! You’ll learn how to do some simple, but very useful, scripting, including accessing components, physics, and inspector-editable variables. By the end of this tutorial, you’ll have your ship flying about the level, with particle effects to match.
Also, I’ve decided to go ahead and provide all the real, much awesomer, painstakingly-hand-crafted models that will be in the full Mine Lander game once I launch it. You can even feel free to use these models however you like, just please credit me is all I ask. Of course, if you created your own, more power to you!
What is covered in this tutorial:
- - Attaching scripts to objects
- - Scripting for physics-based controls
- - Attaching external components to your script
- - Axis-based input via scripting
- - Other scripting-oriented useful tips