Hey all!
So I was attempting to see if there was a way to build tile based movement using only playmaker.
My idea was to use the navmesh actions and generate a path between two objects, and then sample known distances along the path, get the nearest tile (gameobject) and move the unit to those tiles in order. Unfortunately, I cant seem to find a way to do much with the generated path. I tried the "Sample Point on Path" action, but that doesnt seem to do what I think it does. Is there was a way to sample a point that is at a specified distance along a path and store it?
For now, i just spawn a dummy object, have it move along the path storing the tiles it collides with along the way in an array, and then i move the enemy to those positions in order. Unfortunately, this is a somewhat slow process (i have to wait for the dummy object to record the positions).
Any ideas?
Thanks,
Sean