Thanks! It should still work just fine in the newest version of Unity, as not much substantially has actually changed besides some minor UI changes and under the hood performance improvements. In fact, I used pretty much identical code for this game jam game just under six months ago on a preview build of Unity 6. nebulaoblivion.itch.io/survey-mission
Mouse sensitivity is no problem! Just change your speedMultAngle to be even smaller. (At 3:12) we used [SerializeField] to expose it in the inspector, Click on the GameObject with the script on it, and in the inspector you can click on the number for the variable and change it. (3:25) We set it up in the code for a default of 0.5 . But a smaller number is more suitable for highly sensitive mice. Try it at 0.1, or 0.05 or 0.001 or whatever works for you! Alternatively, you can forego mouse control entirely for the spaceship, and you could assign the pitch and yaw torques to keyboard commands. A good setup for that might be pitch set to W and S. Roll set to A and D, Yaw set to E and Q, and thrust set to Space and Shift. The same things you learn in this tutorial can of course, be used to control any rigidbody, so you could adapt this to another kind of character pretty easily as well, such as a topdown, or sidescroller, or a roll-a-ball type character.
Great tutorial! Just one question, when I start the game my plane starts to rotate on the Y axis uncontrollably until it settles by itself, and then it work as expect. Any idea how to fix it?
@mrmangosir ended up being too much input on the y axis immediately at the start of the game from moving the mouse to and from the play button 🤷♀️ fixed it by making the game wait a sec before checking for mouse input
Here I was thinking I was loading a tutorial for a game, but this right here is a tutorial for life!!
haha! Glad to hear it!
Thank you for saved my life from the dead line brother
Hey-o! Great tutorial. Really appreciate the upload, and such a beautiful end result for your game too.
Thanks! I'm glad you liked it, and I hope you stay tuned for the next tutorial in the series!
Pretty much perfect to just quickly creat something good that you can start off with!!
idk if this is the video or my headphones but ure voice is only coming out of my right headphone. music out of both.
Really like the tutorial style and speed, but it's almost two years old now, is it potentially outdated? because these controls are beautiful!
Thanks! It should still work just fine in the newest version of Unity, as not much substantially has actually changed besides some minor UI changes and under the hood performance improvements. In fact, I used pretty much identical code for this game jam game just under six months ago on a preview build of Unity 6. nebulaoblivion.itch.io/survey-mission
Is there ever gonna be a part 2 this is awsome but i would love a way to exit / go into passanger seat/ both
Hey, it awesome thanks a lot, But my mouse sensitivity is very-very high.. and cant setup it. Do u have any idea what can i make?
Mouse sensitivity is no problem! Just change your speedMultAngle to be even smaller. (At 3:12) we used [SerializeField] to expose it in the inspector, Click on the GameObject with the script on it, and in the inspector you can click on the number for the variable and change it. (3:25) We set it up in the code for a default of 0.5 . But a smaller number is more suitable for highly sensitive mice. Try it at 0.1, or 0.05 or 0.001 or whatever works for you!
Alternatively, you can forego mouse control entirely for the spaceship, and you could assign the pitch and yaw torques to keyboard commands. A good setup for that might be pitch set to W and S. Roll set to A and D, Yaw set to E and Q, and thrust set to Space and Shift.
The same things you learn in this tutorial can of course, be used to control any rigidbody, so you could adapt this to another kind of character pretty easily as well, such as a topdown, or sidescroller, or a roll-a-ball type character.
@@Nebulaoblivion I'll try it. Thanks a lot. When I changed SpeedMultAngle, do not seen any changes.
Ill try other way
Great tutorial! Just one question, when I start the game my plane starts to rotate on the Y axis uncontrollably until it settles by itself, and then it work as expect. Any idea how to fix it?
You have any controllers or something similar plugged in? Just a thought.
@mrmangosir ended up being too much input on the y axis immediately at the start of the game from moving the mouse to and from the play button 🤷♀️ fixed it by making the game wait a sec before checking for mouse input
This sounds like someone who works tf out
🏋♂💪💪