Why Does A Rigidbody Affect Enemy Health?
Recently, I added a wall place script. When you place a wall, the enemy accesses its rigidbody in order to make sure it doesnt move. But because it now has a rigidbody, it affects its health (its healthbar slider attached to it) when it isnt supposed to. Whenever I remove the rigidbody, it doesnt do damage to the enemy.
Any help?
Thanks in advance! :)
Comment
Your answer
Follow this Question
Related Questions
How to Make A Character Stop At Wall? 0 Answers
Freeze rotation of just the box collider component 0 Answers
why isnt my code working, 2 Answers
Toggle collider with key 0 Answers