Melee, Zombie AI Update.
- Draven Lee
- Jun 27, 2020
- 1 min read
As of late I have been trying to fix some bugs that occur within the Physics of the player. One of these was that a physics object could skew the players Yaw rotation, and reset the camera on a weird angle, the physics bug itself can cause motion sickness, and as someone who is used to VR experiences, I found myself feeling wheezy when it occurred. I fixed this by playing around with the player controllers physics settings, which eventually solved this bug, also repositioning the VR origin also helped solve this issue.
Melee weapons now use math to calculate damage, attack damage will be based on the speed it is swung, and it the value is higher than the weapons lowest damage setting, it will cause damage and play a sound.
The Zombie AI has now been reworked, users can set the Zombie AI to one of 3 states, Idle, Wandering or playing dead(W.I.P) the Zombie now attacks when the player is in distance, it can also damage any other NPC or object that is within it's area of attack. Currently it can only chase the player.
The Zombie can also break down barricades, this feature was discovered by accident whilst testing, but I decided to keep it.
Kommentare