I've looked around, but I can't quite seem to get this working: I'm trying to make an Eater of worlds inspired worm boss, from terraria. I've followed a couple tutorials and put things together as I believe it should work, but when I add the script to an object, nothing happens.
Boss ai problems
Code (CSharp):
- using System.Collections;
- using System.Collections.Generic;
- using UnityEngine;
- public class Worm : MonoBehaviour
- {
- public Transform player;
- public float moveSpeed;
- private Rigidbody2D rb;...