Hi, I am making a game in unity, and have an enemy that follows the player. the script i used is the script given i this link.
the problem I am having is that the enemy floats towards the player, despite being a rigidbody object. It doesn’t follow any physics and goes through walls and floors. How can i edit the code to prevent any of these from happening?? any help will be appreciated,
-Blackichan
I tried adding a collider, but it didn't make any difference. Is there anything i could do to the code that would fix anything?
– blackichan