Hey guys!
I’m developing a grid base TD game and implemented the pathfinding and movement of the units using go.animate with different delays.
My question is: How can I make an unit follow a curve when the path turns 90 degrees?
The only way I can think of is to set the game objects parent position to the center of the “curve” and rotate the game object(as it will rotate around its parent position). But I dont know if this is a good approach when 100+ units are on the screen at the same time.
Any sugegstions? Thank you!
In the image bellow green is my grid, red is my current unit movement and black is the desired unit movement.
Image