Posted on

What is a Kinematic Rigidbody in Unity

For this short Unity Lesson, I teach you what the is Kinematic option does on the Rigidbody component in Unity. The is kinematic setting makes it so that the rigidbody object will not move because of Physics.

Now you might be wondering, why would you want to attach a rigidbody component to an object only to disable to physics of the object? The answer is that sometimes you want an object to be stationary until a certain point and only after something happens do you want the object to interact with physics. At that point, all you have to do is disable the is kinematic option.

For example in my Zig Zag tutorial series I want the platforms to eventually fall but not until that ball touches the platform and then leaves the platform. This will then make it look like all the platforms are falling just behind the ball.

Posted on

How to Scale an Object in One Direction Unity

For this very quick lesson, I should you how to scale an object in only one direction in Unity. When you scale an object is scales based on the pivot of the object. Most of the time the pivot is in the center which means the object will scale in both directions.

To scale an object in only one direction to need to give the object a new pivot point to scale from. You can do this by using a parent-child relationship with an empty game object. If you make the object you want to scale a child to the empty then place the parent/empty object in the position you want the pivot to be. To scale the object in one direction then place the parent object on the edge or face on the child object.

You can then scale the parent object with will scale the child object in one direction.

Posted on

How to Open an Existing Project Unity

To add an existing project to Unity hub, first open Unity hub. Then in the project tab click the add button. This will bring up your file explorer where you will need to find the asset folder for the project you wish to add. Then click the Select Folder button. This will then add this project to the recent project list. You will then need to select the Unity version you want to use with this project. Unity hub will not let you open this project until you do this. Now you can click on this newly added listing which will close Unity hub and open Unity. Depending on your computer and the size of your project, Unity will take several minutes to open.