How do I set path finding to use only right angles

Get help using Construct 2

Post » Wed Nov 05, 2014 8:47 pm

Hello.

I want ai in a scene to look as if they are using the 8derection behavior with no turning smoothness. to look like they mimic classic player movement. I set diagonal movement to false. But they still have a little smoothness when they follow the path. How can I set Ai to absolutely follow a path in 90 or 45 degree intervals with no smoothness?

I set turn speed to crazy numbers. they do immediately face there detection as they start a path. But once they reach there first node they turn.

the picture shows what I mean.
You do not have the required permissions to view the files attached to this post.
Last edited by Sir LoLz on Wed Nov 05, 2014 8:54 pm, edited 1 time in total.
B
13
S
4
Posts: 54
Reputation: 934

Post » Wed Nov 05, 2014 8:52 pm

Use the nodes found by pathfinding and do a MoveTo or similar to that location, then once arrived there move to the next node position, etc.
B
24
S
9
G
4
Posts: 1,646
Reputation: 6,596


Return to How do I....?

Who is online

Users browsing this forum: No registered users and 13 guests