How do I use pathfinder with limited angles

Just started using Construct 2? Post your questions here

Post » Thu Nov 20, 2014 9:08 pm

Hi,
I'm testing C2 native pathfinder and, my problem is that you can limit the movement in 4 direction or use diagonal movements but in many angles... Does exist some way to limit the movement in 8 directions (up, down, left, right, 45 degrees up left, 45 degrees up right, 45 degrees down right and 45 degrees down left)?
What should I modify in the plugin or does exist to download an already existing thirdy party one with this function?
B
5
Posts: 10
Reputation: 247

Post » Sat Nov 22, 2014 3:31 pm

You could use pathfinding behavior to only find the path and use some other movement type to actually move the object. Diagonal is 8 directions.

There is a third party Behavior called moveTo that might be usefull.
https://www.scirra.com/forum/behavior-moveto_t63156
B
34
S
9
G
3
Posts: 517
Reputation: 5,226

Post » Sun Jan 25, 2015 5:45 am

I will try... Thank you, @Katala.
B
5
Posts: 10
Reputation: 247


Return to Beginner's Questions

Who is online

Users browsing this forum: No registered users and 0 guests