Destroy Object by Hit – Unity3D (C#) Before implement this code, please check if you add “Rigidbody” component to your objects and “Is Trigger” box is selected. Otherwise, it doesn’t work. [crayon-5a33ef8a61652544098226/] ©Coffee Break Codes – Destroy Object by Hit – Unity3D (C#)

Destroy Object by Hit – Unity3D (C#)


Add Terrain and Skybox – Unity3D You can add terrain in Hierarchy window by clicking on Create button. But first, add a “directional light” in your scene to see your 3D objects clearly in your game scene. Click on terrain and its specifications appear on Inspector. There are 7 buttons […]

Add Terrain and Skybox – Unity3D


Character Control with Keyboard – Unity3D (C#) I will show you 2 ways to move your character with keyboard. Create a cube named “Char” and create a script named “Movement”. You can attach this script to Char object but we won’t.  Lets create an object before Start() function: [crayon-5a33ef8a61f26469335088/] character is […]

Character Control with Keyboard – Unity3D (C#)



“Hello World” for Dummies… – Unity3D When you open Unity 3D, you will see a window like this. Under the “Hierarchy” title, a main camera is created as default and you can create your objects in here and see it in “Scene” window. In Scene window, you can move, rotate […]

“Hello World” for Dummies… – Unity3D