I worked more on the knife and the character controller. I added a knock back effect on the knife's teleport script. The script now has the player teleport and it creates a sphere cast and checks anything inside with a rigid body pushing them back. We can arrange the knock back strength and radius in the inspector. I also tried working on the Dash for the character controller, but I had no luck accessing the character controller. With help from the professor, he was able to help me with the Dash Script and it now allows the player to dash towards their movement position. The speed and time can be edited in the inspector.
victorduarte6
Victor Duarte - 10/7/22 Journal: Knockback and Dash
Updated: Oct 21, 2022
コメント