Al HeckThrow a GrenadeThe grenade throw mechanic is very different from the typical gunfire mechanic — enough that they should both use the firing script but…3 min read·Jul 20, 2022----
Al HeckAdding separation between firing weapons and grenadesRight now, there should be an issue between the grenades and the guns because the grenades will operate differently. They don’t have a fire…2 min read·Jul 19, 2022----
Al HeckPistol animationLet’s build a animation for the pistol. This will occur under the fireWeapon function and this class should be built to encompass all…3 min read·Jul 19, 2022----
Al HeckFixing Weapons for the other statesWe need to set our game up so that our character does the correct aiming animations when we select our weapon. Currently, it only does the…3 min read·Jul 19, 2022----
Al HeckSwitching weapons on a character/Blend trees in blend treesOf course, you will want to switch the weapons of your character but not all characters have the same idle state depending on the weapon…4 min read·Jul 14, 2022----
Al HeckAdding a weapon to your character/aiming appropriatelyMore often than not, you want to add weapon to your character and it should be simple. Every weapon is different so you should plan on your…3 min read·Jul 7, 2022----
Al HeckHow to crouchOne way to do a crouch is to create a layer called crouch and an avatar named crouch.3 min read·May 25, 2022----
Al HeckAim the pistol up and down using blend treesThere may not be an animation available, but we’re going to aim up and down by copying animations2 min read·May 25, 2022----
Al HeckAnimation Layer Mask with AimingIn our scenario, our legs actually stay still when aiming down the sights. What we want to do is carry over our lower body movements while…2 min read·May 25, 2022----
Al HeckAiming a Gun in 3rd personTo aim a gun, we need to use cinemachine to go to a OTS view. We also need to use layer masks. Start by creating a new virtual camera and…2 min read·May 25, 2022----