This is the start of my development for CYBERVISCERA. I started the project with the starter content, allowing me to already have base movement and shooting functions. I took inspiration from games like Apex Legends and MEGABONK, and decided to add crouching and sliding. Adding crouching was simple, only having to change the player settings to add crouching, then setting up a new input to hold to crouch. I added a slide mechanic after, which checks your speed, and if youre going fast enough, you start sliding which gives you a small speed boost, but stops after 1 second. After the slide finishes, you have to uncrouch, get back up to speed, then you can slide again.
Adding this was harder than the crouching. I had to expand upon the crouching to check whether the player was sprinting or not, then had to create two events, one which starts your slide, and one that ends it.Â