Relative Content

Tag Archive for c#unity-game-engineslide

Enemy slide when colliding with the player

When the enemy is hit by the player, it will slide backwards until the end of the world. I’m using Terrain as the ground. Is there anything I need to add, or is there an additional LayerMask setting or something?

Enemy slide when colliding with the player

When the enemy is hit by the player, it will slide backwards until the end of the world. I’m using Terrain as the ground. Is there anything I need to add, or is there an additional LayerMask setting or something?