How do I pathfind with moving solids

Get help using Construct 2

Post » Wed Nov 26, 2014 6:35 pm

https://dl.dropboxusercontent.com/u/301 ... roblem.rar

here is simple example of my problem

So: i have one red sprite with path find behavior, and this sprite is in "house"
other sprite is outside
and there is "gate"
and when i click open gate, gate rotate for 90 and there is enough space for get out
but this red sprite just dont want get out, like is still closed

other example is, if i move that gate to be like open, and then test it again, and after i clik few times "open gate" it will be like "closed" , and if you click start, sprite will move trought that solid gate.

so: problem is path find use just position of solid object on start of layout, and after they move arond he dont care about they moved, and he act like on start layout

i was trying with "every tick" or "every second" but still he calculate that positions form beggin of layout

what is solution?
B
6
S
3
Posts: 15
Reputation: 610

Post » Wed Nov 26, 2014 6:56 pm

............
You do not have the required permissions to view the files attached to this post.
B
67
S
24
G
7
Posts: 1,518
Reputation: 11,072

Post » Wed Nov 26, 2014 7:01 pm

Thank youuuuu soooooo much :****
B
6
S
3
Posts: 15
Reputation: 610


Return to How do I....?

Who is online

Users browsing this forum: No registered users and 26 guests