For this project, I recreated Jett's abilities. Jett is a character from Valorant whose main job is to create space and take map control for her team. She comes equipped with four different abilities: dash, updraft, smoke, and throwable knives.
The dash and updraft were straightforward as they were moving the player in a set direction faster than normal moving speed, as well as not allowing them to change directions when the movement was happening. The dash just moved the player along the x-axis and z-axis while the jump moved them up on the y-axis and allowed the player to control the descent by holding space which was just changing the fall speed and the gravity.
The knives were also simple, they were just spawners attached to the camera, so they moved where the player was looking. When you fired them, it would just shoot them fast in whatever direction you were looking for and when they collided with something they would get destroyed, and if you killed a player with them then you would get all the knives back.
The hardest part of her kit to recreate was the smoke as I had to make it so the smoke would follow the camera if the player was to continue holding down C when throwing the smoke. To do so I had the ball trying to move towards the ray cast from the player's camera until they would let go of C then it would just continue moving forward. I also had to make it so that after a set time or if it hit an object, it would get larger just like it does in the game.
Comments
Post a Comment