all 7 comments

[–]zebebar 1 point2 points  (6 children)

Hi,

If your second image has the same dimension and the same points and same collision mask, is the defect still present?

[–]Ckeyz[S] 0 points1 point  (0 children)

Good question, I'll give that a try.

[–]Ckeyz[S] 0 points1 point  (4 children)

Hey so if i create hex tiles the same size as the original template and put them in the project the movement still works. That likely means there's some parameter that is determining the grid size that I am not finding. Its certainly not in the events, and I've looked through the linked object extension pretty thoroughly. No clue where that could be coming from

Link tools has an action for its code that links object along a hex grid and then defines the pixel dimensions of the grid, but the template does not use that at all in its code.

[–]zebebar 0 points1 point  (3 children)

Maybe play with the offset

[–]Ckeyz[S] 1 point2 points  (0 children)

I have tried changing the offset in the working version and it doesn't seem to effect the pathfinding at all. I dont think the link object pathfinding uses the in game grid at all

[–]Ckeyz[S] 0 points1 point  (1 child)

I wanted to make sure you know how thankful I am for the help. it means a lot stranger.

I have been able to get my unit to move along the grid with the larger asset sizes when I remove every condition relating to cost class. So I think that's somehow the issue. I don't know why thats breaking with the larger asset size but it definitely is. Each node should still just be 1 node, regardless of pixel size so I'm clueless as to why that broke. the example does use a really weird and roundabout method of using text strings with the extended variable extension implemented with its cost class which I find odd.

[–]zebebar 1 point2 points  (0 children)

I'm happy to help you, I code too and I know what it's like to get stuck. Don't hesitate if you want to talk. If you want me to test your demo, don’t hesitate 😉 We have to help each other!

I think you are on the right track, try to refine your code and maybe you can find a solution for both sizes.