Hi!
I try to figure out how to use this Pathfinding with Playmaker.
I found the documentation and start to read. I created ground mesh and some wall mesh. And then bake. I created the script in the documentation to move the Agent to the destination.
// MoveTo.cs
using UnityEngine;
using System.Collections;
public class MoveTo : MonoBehaviour {
public Transform goal;
void Start () {
NavMeshAgent agent = GetComponent<NavMeshAgent>();
agent.destination = goal.position;
}
}
My simple question is:
What kind of actions do I use to do this with Playmaker?