Ok so I have a project where I want a car to drive across the screen. I made it so that There is a red box on the other side of the layout, and the car will find the path to the red box, but when I play it, it just turns around and driver away. I have a video showing the code and what happenes when I play. Sorry for the bad quality: drive.google.com/open ... k4Lvt5GU2O
You can't post urls so that won't work, also a video won't be much use either. For pathfinding errors I would need to see what you've done with the logic and events. There will be a reason it is not going to the red box and it'll be in the events.
here are the events for the car. Also the only behavior it has is path finding
try this tutorial might help you
https://www.scirra.com/tutorials/1118/path-finding
Only the first red car will find a path to the red box, any that spawn never find a path and so will move along some default path. You can try on red car spawned, find path to red box, and on path found, move along path.
Ok so I did what you said but the car doesnt move at all! I have a picture of the event so you can see if anything is wrong:
It would be much quicker if you just posted your .capx.
Develop games in your browser. Powerful, performant & highly capable.
*ahem* where in the reply thing can I post my .capx?
sorry if im pretty noob...
Use dropbox and in the full text editor here URL on the top.
dropbox.com/home
ok here
When I checked this link 4 times it has taken me to my dropbox, why?
https://www.dropbox.com/home?preview=Du ... stand.capx
Hiya that isn't the right link, you need to right click or select 'Copy Dropbox Link'.