Scripting UI in Unity 4.6

Want to learn about the new UI system in Unity 4.6? In this Unity 4.6 tutorial we’ll take a look at the basics of using the new UI to create a “world space” text appear via a scripted trigger. This UI will act as a 3d game object that can be placed in our scene […]

Blender Rigged Animations in Unity

Want to learn how to use Blender animations in Unity? In this Unity tutorial we’ll be going over how we can import our rigged model with animations from Blender into Unity. We’ll be exporting an FBX file from Blender then importing that file along with its textures into Unity. We’ll then take a look at […]

Unity 3d Quick Tips

Unity Quick Tip: Instant Materials In this Unity 3d Quick tip we’ll show you how to quickly create materials by simply applying a texture directly to a game object.     Unity Quick Tip: Visible Private Variables In this Unity 3d quick tip we’ll show you how to make private variables in a script visible […]

Sticky Bomb in Unity

Use Joints to Create a Sticky Bomb In this Unity tutorial we’ll show you how to create a simple sticky bomb grenade. We’ll first start off by adding an empty game object directly in front of our first person controller. This will be used to instantiate our sticky bombs. Create a prefab of your sticky bomb […]

Weapon Cycle in Unity3d

Cycle through Weapons with Arrays In this Xenosmash tutorial we’ll go over how to cycle between two different weapons using an array. We’ll start off by positioning our weapons against our first person controller. Both weapons should ideally be in the same spot for congruency. Make sure that you have an empty game object that […]

Raycast, Bullet Holes, and Random Arrays

Randomize Bullet Holes with Arrays In this Unity tutorial we will be going over a few different things. First we’ll discuss how to create a Raycast that we’ll apply to the front of our weapon. Then we’ll create bullet hole textures that will be randomly instantiated from an array using random.range in our script. This is […]

Raycast Force and Ejecting Bullet Shells in Unity

Impact Forces and Ejecting Bullet Shells In this Unity tutorial we’ll be showing you how to apply force to rigidbodies in our game with our raycast. We’ll also go over how to “eject” bullet shells from our gun. We’ll start off by modifying our previous raycast script by using “Add Force” which will apply a force […]

Explosive Rocket Launcher in Unity

Create Rockets that Explode Upon Impact In this Unity tutorial we’ll go over how to create a simple rocket launcher that shoots out explosive rockets that explode on impact with other rigidbodies’ colliders. This can be used to shoot out any type of explosive projectile. We’ll start off by creating a simple “rocket launcher” cylinder, then […]

Creating a Rocket with Constant Force in Unity

Use Force to Launch a Rocket In this Unity tutorial we will be showing you how to create a simple rocket that uses the constant force physics components to launch our model rocket. We will be using Javascript for key input scripting. We will also briefly go over how to use the trail renderer to create […]

Ammo GUI Update in Unity

Use a GUI to Track Ammo Count In this Unity tutorial we will be using the Coconut Cannon files to add a “Ammo GUI” for our ammo count. We will add some Javascript that will enable us to have a GUI that updates our current ammo count and total ammo available in real time. This is […]