I had everything working great, until i tested another script and noticed the enemy skipping waypoints. upon checking in the inspetoer it wasn’t skipping but double triggering throu the way points, as it enters it triggers twice.`
function OnTriggerEnter(col : Collider){
if(col.tag == "waypoint" ){
print("hi");
currentWaypoint++;
}
}`
i have tried deleting the other script and it changed nothing any ideas on this would be helpful.