Okay I need a script where the enemy goes after the player until the enemy hits the player (or runs into him) I want the enemy to move at the same speed as the player which is speed 4. Also I want the enemy to be able to see thetarget from any distance and walk through only trees…the enemy’s name is shadow and the players name is player. I have nothing else and I need help with the script…could someone show me what to do for the script? Also I am using unityscript as the default language.
Gotta use tutorials. This is the basic stuff, break it down into little pieces.
Raycast and layer-based collision and CharacterCollider.Move or transform.position.
Thanks! That’s what I needed!