Math blog
This week, in order to fix bugs related to the stake gun secondary weapon, flintlock secondary animation, along with certain animations, I had to use vector mathematics, along with boolean algebra. When fixing the stake gun and flintlock, I had to change the impulse applied to the projectiles to prevent them from colliding and getting stuck on the player when traveling too slow, along with creating a boolean statement to determine when to apply this impulse to make sure its after the projectile’s position was set to the correct marker. when fixing the animations, I had to edit a faulty expression that determined when to play the animations that correlate to player movement and locomotion.


