i got the enemy to move but when the enemy hit's the player he get's push back i want the enemy to keep on moving no matter what until he dies when the enemy hit's the player he just stand's still.
public class enemy : MonoBehaviour {
public float speed;
void Start ()
{
rigidbody.velocity = transform.forward * speed;
}
}
↧