Hello,
I’m trying to create node links at runtime to have my character jump gaps while following a target. I’m instantiating a prefab with a script attached derived from NodeLink2. All this script has is an initialize function that sets the position of the start and end points of the link. The prefab also has a child object acting as the end transform for the link.
So with the prefab created and positioned I go to update that portion of the recast graph (with AstarPath.active.UpdateGraphs(GraphUpdateObject)) but it does not update correctly. The connection isn’t made and the character won’t use the link to jump to the platform. However, if I do a full AstarPath.active.Scan the connection is made and character moves correctly.
What can I do to make the connection happen while only updating that portion of the graph?
This is after using UpdateGraphs. The connection is not being made. The blue lines make up the bounding box being passed to UpdateGraphs.
I unfortunately can’t upload another picture showing the result I’m looking for but I figure this will be enough.
Thank you for your time.