Al Heck·Jul 20, 2022Throw a GrenadeThe grenade throw mechanic is very different from the typical gunfire mechanic — enough that they should both use the firing script but…
Al Heck·Jul 19, 2022Adding 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…
Al Heck·Jul 19, 2022Pistol animationLet’s build a animation for the pistol. This will occur under the fireWeapon function and this class should be built to encompass all…
Al Heck·Jul 19, 2022Fixing 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…
Al Heck·Jul 14, 2022Switching 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…
Al Heck·Jul 7, 2022Adding 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…
Al Heck·May 25, 2022How to crouchOne way to do a crouch is to create a layer called crouch and an avatar named crouch.
Al Heck·May 25, 2022Aim 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 animations
Al Heck·May 25, 2022Animation 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…
Al Heck·May 25, 2022Aiming 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…