Yet there are still problems in this airplane system, it is able to rotate left and right, up and down, when it is on the ground. It should do that only when it’s flying. Another problem is when I start the engine and slightly slide the thrust slider the aircraft is immediately run so fast…
Category: Unity
How to make this airplane glide when the engine is suddenly stopped
On my previous video I fixed the gravity problem. Now the airplane is not stuck on the air when the engine is stopped. It is falling down. But problem is, it is immediately falls down without little bit gliding forward just like real aircrafts. So in this video I’m going to fix this issue. Check…
How to fix gravity problem on this aircraft game development
In this video I will fix the problem of my airplane. Which is the airplane is not falling down when I stopped the engine. After fixing this issue, you will see that the airplane will fall down after you stopped the engine. Check out the complete parts of this tutorial here: https://thirteenov.ciihuy.com/making-an-airplane-game-from-scratch-in-unity/
How to add wing flaps to your airplane in your aircraft unity game development
I did make a simple aircraft controller in Unity, and this time in this video I will add wing flaps to my aircraft. Wing flaps is some small wing objects in airplane wings that somehow rotates to control the aircraft movement. In this video I will make those wing flaps and how to control them…
How to add a slider to control your airplane thrust and speed in Unity
In this video I’ll be showing you how to add a slider UI to your Unity games, and how to pair and connect it to the aircraft to control its speed. So the airplane by default is sitting on a runway. Then we can slide the slider to make it move and take off. Check…
How to add slide left and right rotation and on screen buttons to your airplane in Unity
In this video I’m showing you how to rotate your aircraft in your Unity airplane game left and right (I mean to slide it left and right) both by using keyboard buttons (Q and E buttons) and also with touch screen buttons. So yes, this airplane game will be suitable for mobile devices too, I…
How to add aircraft controller buttons for your airplane game in Unity
In this video I will continue my tutorial about how to make airplane game in Unity. This part is about how to add buttons to control your aircraft. So basically we add 6 buttons on the game UI, two for left and right rotation, 2 for left and right sliding rotation and another 2 for…
Getting started to make an aircraft that can take off and be controlled using WASD keyboard buttons on Unity
In this video I am trying to make an airplane that can take off and be controlled using my WASD buttons on my keyboard. It is somehow an experiment and also a tutorial, so please don’t be mad if I made mistakes in this video before finally I made my way to fix any problem…
Unity Random Prefab Spawner Script
This script that I want to share with you is a simple script to generate randomly spawned prefab objects across your Unity scene. To use it, first make some multiple empty game objects as spawn points on your scene at different positions. Then apply a specific tag to them. Then make an empty game object…
How to fix this Unity error: unity Exception in thread “main” java.lang.NoClassDefFoundError: javax…
It’s somehow annoying when I got this error in Unity: unity Exception in thread “main” java.lang.NoClassDefFoundError: javax/xml/bind/annotation/XmlSchema I got this error when I tried to add new GoogleMobileAds package to Unity. I got the error when I build my project. After googling around, finally the solution that worked for me is to uninstall my current…
Easiest way to save a List variable to PlayerPrefs in Unity
Using PlayerPrefs in Unity is very useful to save and load user/player’s game data. But, problem is our player data is not always as simple as single string, or integer or float value of variable. For example, how do we store a List to PlayerPrefs? My favorite way to do it is to convert the…
Unity touch screen touchpad script to transform any objects easily
In this blog post I will share a new script that I’ve made to create a touch screen touchpad in our Unity game to control object’s transformations such as position, rotation and scale, easily. I call this script TNObjectTransformTouchpad. Here is it: How to use it? First make an UI Image on your Unity canvas…
Unity Slider to Object Rotation Script Tutorial
In this blog post I will share a handy and yet very simple script to help you using Unity Slider UI to rotate an object, such as camera or any object, by changing the value of your slider in Unity Canvas. This script also has clamping and limiting feature of how much angle the object…
How to make your Gun and Bullet system for your Unity Game and attach it to FPS Player Controller
This is a basic tutorial about making gun and bullet projectile system for your Unity games. First I showed you how to make a bullet object, making it moving at certain speed, then making it as a prefab so we can fire any amount of bullets as we wish. Then I showed you how to…
How to make Unity Fuel System for your Unity car game
Part #1 : Making simple fuel system for my Unity pick up car game In this video you can see how I made a simple fuel system for my game from making a display text on game UI and scripting. I will publish the next video soon about how to refuel. Part #2 : How…
Unity Left and Right Turn Sign Lights Tutorial
How to make turn right and left signal lights in Unity | Part #1 This video tutorial is about how to make turn right and left signal lights for your car object in Unity. In this part I’ve modified my car mesh and prepared left and right turn signal light objects, applied a material to…
Unity Coin System Tutorial
Part #1 This is my first video of some video series about how to make coin system for our Unity game. In this part I’ll be showing to you how to import 3D coin object to our Unity game, make it a prefab, adding a trigger collider and making it disappear (hide it) when we…
How to make a Day to Night Sky smooth fade transition using custom “skybox” : sphere/dome object sky
I don’t know how to make Unity skybox transition between one skybox to another one, especially with smooth fading transition. So alternatively I made a sky dome object using basic sphere object inside Unity and apply a material with custom shader to them, and also apply SetTransition script that I demonstrated earlier on my previous…
A Unity C# Script to set the transparency of an object
If you have an object with a material that supports color transparency, you can use this script to control it’s transparency in run time. For example you can make some buttons and use one of 2 methods available in this script to set its transparency. It has two kind of transparency changing feature, one is…
Inside Visible Transparent Unlit Unity Shader for making simple light independent material
Sometimes we need a material for some objects that is not going to be affected by any light, for example just like making LCD screen of a turned on TV. We can apply this kind of material to the LCD plane of that object, so no matter how the lighting is in the scene, the…