Flying Controls in Unity - Tutorial

90,141
0
Published 2020-07-02
Learn how to create flying controls perfect for space flight games, or for flying airplanes!

Download the starter files for the project at drive.google.com/file/d/1VcE2gGwCedxciG8OqZCZTm7rq…

Wishlist 'Scoot Kaboom and the Tomb of Doom' right now at bit.ly/scootkaboom !

Get my new Udemy course 'Learn To Create A First Person Shooter With Unity & C#' at bit.ly/udemyfps

Don't forget to hit that like button and if you'd like to see more gaming goodness then subscribe for more!

Join the discord community at bit.ly/gpjdiscord

Follow @gamesplusjames on twitter at www.twitter.com/gamesplusjames

Support the show by pledging at www.patreon.com/gamesplusjames

#gamedev #madewithunity

All Comments (21)
  • @marcelomafra
    The title; "Poor Man's Sky" :) Awesome tutorial!
  • @buldusmihai
    This tutorial is just what i needed for my game mate. Thanks a lot for making it!
  • That's is exactly what I was looking for, thanks, man!!! please keep on making more tutorials :)
  • Yes! This video is in 2022, and this helps because it's the same version I'm using, making it easy to compare, unlike outdated videos. Thank You Very MUCH! It works like HECK!
  • @NoTimeLeft_
    You're a life saver. I am building a similar project and was using Rigidbody physics to apply an acceleration to my objects rather than having them snap to full speed. What a nightmare of a rabbit hole that become. You saved me countless hours and showed me a better way. Thank you a million times.
  • @CGSmoothie
    THANK YOU! since i started unity like 5 months ago, i've wanted to make a spaceship but didn't know how. This video is very underrated and i appreciate it!
  • @foldupgames
    That works really well for full 3D controls in space. Nice.
  • Great work! you could treat the accel as thrusters and simulate the dynamics with a simple finite difference aproximation. For x-axis: xNew = activeForceX/shipMass +2*xActive-xOld. The same for y and z axes.
  • @syedjamal6275
    this is very beautiful and crystal clear explanation of flight dynamics for game designing ..excellent
  • @rikywyle
    Hi! Loved every second of the tutorial, I was wondering if you could show the transition from the first person to the ship, like pressing E to get on board, I'd love to see how it works! Thank you so much and keep it up!
  • @wander205
    I had a lot of fun making this code.THX
  • @stvs9722
    Great tutorial... I hope you make a video about scriptable objects someday... The way you explain things is easily understood. Thank you!
  • Dude thanks for taking your time on showing us how to make our own! :) This be a big help for my project since I am making an alien game that includes space levels like this. ♥
  • @Alzexza
    Excellent Tutorial btw... really appreciate it. Thank you. Will be hunting for a good follow camera tutorial next and a good shooting tutorial.
  • Excellent guide. My hello world of Unity is a crude solar system. Exploring is a debugging tool, and learning how input works compared to my desktop background.
  • @Muninn_Crow
    Thank you for creating a flight system tutorial that actually addresses Lerp! And with such a simple setup! You must make the other coding channels jealous. ;P
  • @elantonio2022
    this was the only one that worked for me. I watched a lot. Perfectly explained. Not to much but enough to do the math yourself. Thank!
  • @JoeDirtyist
    Thanks. If anyone has trouble with camera placing itself inside the player model when you move, make sure you add Camera Controller to the Main Camera and set the Target Point to Cam Point
  • Great video Plz make a video of setting up this scene(I mean how did u make the character)