Search found 4 matches

by Evanzap
Thu Jul 07, 2022 12:12 am
Forum: Support and Development
Topic: How to make an ai that goes to a specific point
Replies: 10
Views: 6453

Re: How to make an ai that goes to a specific point

BrotSagtMist wrote: Wed Jul 06, 2022 11:35 pm Then why are you stating to use box2d?
Anyway for tiles, i tried writing a tutorial for that a while back:pathfinding.love
i'm using sti and a script to convert objects into colliders, it's quick and easy
by Evanzap
Wed Jul 06, 2022 11:20 pm
Forum: Support and Development
Topic: How to make an ai that goes to a specific point
Replies: 10
Views: 6453

Re: How to make an ai that goes to a specific point

The problem is that box2d isnt really nice for pathfinding. If you use tiles or a hexagon map pathfinding is just a couple of easy lines. That is because collision is easy there too, we just have to touch tiles till we find the target and then traverse back. But on free movable objects you can not ...
by Evanzap
Tue Jul 05, 2022 5:07 pm
Forum: Support and Development
Topic: How to make an ai that goes to a specific point
Replies: 10
Views: 6453

Re: How to make an ai that goes to a specific point

togFox wrote: Tue Jul 05, 2022 5:44 am Spawn agent
Find a path
Move along path

Which bit does your question relate to?
I guess find a path and move along path
by Evanzap
Mon Jul 04, 2022 4:54 pm
Forum: Support and Development
Topic: How to make an ai that goes to a specific point
Replies: 10
Views: 6453

How to make an ai that goes to a specific point

Hello! How would I go about making a function that spawns in an ai that can path find and then take that route to the location. The collision method I use is box2d. If there is a way that i could do this without messing with node things that would be great!