hi,
I've just gotten into playmaker and especially your A* implementation. And it worked out of the box quite rapidly.. so kudos for that.
But what I can't seem to get to work, is simply finding nodes and walkability.
Right now, I generate a level with point node objects,
I've rigged the A*star manager to greate a pointgraph based on these tagged node objects.. This works.
After I generate, I perform a scan, to setup all the dynamically created nodes in the graph. This also works great
now I use a moveto/follow/transform setup to get my unit to move along the graph to the mouse pointer.. This also works great..
Seeing as this is a strategy game I need 25 units to use the pointgraph..
Do keep this doable on mobile, i've decided to not have any avoidance or walkability changes when a group of units is moving, but when they reach their destination, I would like to set a property of the node as occupied. And thus not have that node assigned as a target for other units.
But whatever I try, I can never use get nearest node or any other node action, The output to the FSMnode gameobject var is always null.
am I forgetting a step, do I need to store the nodes somewhere? is the scangraph action not viable in the free version? or can't you acces dynamically created nodes in the free version?
Would be great if anyone could point me in the right direction. Seeing as the moveto is working great, I should be able to getnearest node and such.
thanks, and here's a video of what i got working so far.(only the ground unit is using a*)
I can work around it by creating a target manager, that passes only allowed target objects to the moveto, but would still like to use a little more of the a* if possible:)
cheers and kudos for the great addon again.