How to make a 3D Flying Controller in Unity
19,922
Published 2021-03-06
----------------------------------------------------------------------------------------------------------
●Project Source: github.com/OcelotDevelop/SpaceshipController
●NASA's article about Dynamics of Flight: www.grc.nasa.gov/www/k-12/UEET/StudentSite/dynamic…
●Xbox and Playstations Controller Mapping: bit.ly/2O1LET0
----------------------------------------------------------------------------------------------------------
●Support me on Patreon: www.patreon.com/OcelotDev
●Subscribe: bit.ly/3t8t2Qb
●Twitter: twitter.com/EmilioBlacksmit
●Instagram: www.instagram.com/emilioblacksmith/
----------------------------------------------------------------------------------------------------------
Music.
●Arcade - Lakey Inspired - soundcloud.com/lakeyinspired/arcade
●Chill Day - Lakey Inspired - soundcloud.com/lakeyinspired/chill-day
●Warm Nights - Lakey Inspired - soundcloud.com/lakeyinspired/warm-nights
●Lo-fi Type Beat - beach - soundcloud.com/xxiuk/free-lo-fi-type-beat-beach
----------------------------------------------------------------------------------------------------------
Chapters:
● 00:00 Intro
● 00:18 Explanation
● 01:12 Tutorial
----------------------------------------------------------------------------------------------------------
#tutorial #unity3d #gamedev #madewithunity
All Comments (21)
-
Hell yeah. That was perfect to get me started. Thanx Marc :)
-
Nice! Well done!
-
Excellent script. Very straight forward and customizable control scheme. Thank you.
-
Thank you so much great video 💛💛
-
This was a great video thanks for sharing
-
Pretty useful... do you think this good be manipulated for use on a hot air balloon? - obviously a balloon as rather different flight mechanics Any chance you'd be whiling to assist with something like this?
-
The only thing I would change is that you do not need to multiply values for yaw, pitch, and roll with their power and Time.deltaTime twice. You did it initially when determining activePitch, activeYaw, and activeRoll. You did not need to do it during the transform.Rotate().
-
thank you :yougotthis:
-
I have a problem Assets/SpaceshipMovement.cs(8,23): error CS1644: Feature `expression bodied members' cannot be used because it is not part of the C# 4.0 language specification please help me
-
hey can you help for some reason when ever i turn 180 degreese on the z axis then my pitch isnt inverted.
-
great vid but i have a problem with my plane when it moves, it moves in lets say frames like instead of smooth it just skipps to an angle
-
0:16 how did you make the spacehip bro specifically the lighting it emits how did you make that I did actually downloaded free asset from itch io but the thrust light and some other lights are not showing and I don't even know how to add them
-
Could you make a video about plane's take-off and land,it will be much interesting to learn it😀
-
I am getting an Error CS0117 : Space' does not contain a definition for self
-
I have a problem when I use the code I dont have control of the plane at all only thing I have control of is the throttle
-
There is only ohne Problem the plane is not tuning when rolling like it normally would.
-
how can i make it so that once u press space, u go on forever and then when u press space again u stop? Thanks! :D
-
Can u go for touch controls
-
now my ship keeps spinning when I press a button HELP Please ...Thank you
-
to you have one on Helicopter?