Machine Gun Automatic Fire in Unity3d

In  this Xenosmash tutorial we’ll show you how to increase the rate of fire to mimic a machine gun rate of fire. We’ll be using “GetButton” so that when we hold down the left click button we’ll have automatic fire based off  the rate of fire set in our variable “fireRate”. We will also edit […]

Automatic Fire Toggle in Unity3d

What you’ll learn In this Xenosmash tutorial we’ll  show you how to toggle our automatic fire modes. We’ll include a boolean type of variable that will be toggled by right clicking. Pressing it once will set it to true, and pressing it once more will set it to false and vice versa. When right click […]

Grenade Launcher in Unity3d

What you’ll learn In this Xenosmash tutorial we’ll show you how to create a grenade launcher in Unity3d. This grenade launcher will shoot out grenades that explode  and add force to our rigidbody boxes in our scene. We’ll be making some changes to our default grenade from a previous video by including an explosion sound […]