if you touch an enemy you instantly die even though it should only make 10 damage. The reason for this is, that the damage is getting inflictet every tick. The solution should be to implement a hit deley in which the player is invincible to contact damage for a short amount of time
if you touch an enemy you instantly die even though it should only make 10 damage. The reason for this is, that the damage is getting inflictet every tick. The solution should be to implement a hit deley in which the player is invincible to contact damage for a short amount of time