How do I make Pathfinding more exact

Get help using Construct 2

Post » Sat Feb 18, 2017 3:39 am

Message: wakiki31 can only post plain text URLS until they have 500 rep. 1 URLS modified. Why?
https://drive.google.com/file/d/0B_2dhssETpaVb3pJV1JGeUtpMlk/view?usp=sharing


guys, my problem here is that the pathfinding behavior is not moving precisely. I want my 32x32 object to move... How do i fix this and why is this happening??
B
7
S
1
Posts: 12
Reputation: 403

Post » Sat Feb 18, 2017 7:53 am

Save your game as a single file CAPX instead of a project and provide that link and I will look at it. Sounds like a problem with your collision boxes hanging up the movement.
Banned User
B
28
S
7
G
58
Posts: 1,229
Reputation: 34,830

Post » Sat Feb 18, 2017 8:48 am

I think you need a specific destination. I mean put invisible sprite where your object target :D
B
79
S
31
G
7
Posts: 148
Reputation: 9,179

Post » Sat Feb 18, 2017 8:51 am

yeah i wondered how to do this
Image
B
31
S
16
G
12
Posts: 318
Reputation: 9,854

Post » Mon Feb 27, 2017 6:54 am

clarkkentnicdao wrote:I think you need a specific destination. I mean put invisible sprite where your object target :D



already tried it, but it has someting to do with the collision cells. xD most of the time, the moving object can pass through the first wall, but after that, it gets stucked on the 2nd wall and will not move.
Last edited by wakiki31 on Mon Feb 27, 2017 7:01 am, edited 1 time in total.
B
7
S
1
Posts: 12
Reputation: 403

Post » Mon Feb 27, 2017 6:55 am

Message: wakiki31 can only post plain text URLS until they have 500 rep. 1 URLS modified. Why?
lamar wrote:Save your game as a single file CAPX instead of a project and provide that link and I will look at it. Sounds like a problem with your collision boxes hanging up the movement.



https://drive.google.com/file/d/0B_2dhssETpaVRk10eWMtclJSdnM/view?usp=sharing

just click the download button and it'll be downloaded as a single .capx file. Thanks in advance. :D
B
7
S
1
Posts: 12
Reputation: 403

Post » Tue Feb 28, 2017 1:19 am

did you make it solid? i mean the wall? then in pathfinding make it custom i think the name. just make it custom solid like that :D
B
79
S
31
G
7
Posts: 148
Reputation: 9,179

Post » Wed Mar 08, 2017 3:01 am

clarkkentnicdao wrote:did you make it solid? i mean the wall? then in pathfinding make it custom i think the name. just make it custom solid like that :D


Tried it but it still gets stuck on corners.
B
7
S
1
Posts: 12
Reputation: 403


Return to How do I....?

Who is online

Users browsing this forum: Yahoo [Bot] and 27 guests