pathfinding doesn't work

I added pathfinding with TravelToRandomPositions to the object, but the object does not move at all, the object also has a physics engine 2.0, nothing else

Please show all the events not the action only.
Do you have the pathfinding behavior installed?
:slight_smile:

The events are probably fine… you just can’t use a different movement system at the same time as Physics2.

What you could do is make a separate object that does the pathfinding and acts as the target for the physics object. Then just apply force to the physics object (make sure they are physics 2.0 actions, not the default ones) to move it toward the target.

@magicsofa Hello
I think you are right about it.


still doesn’t work

That’s the basic forces… you’ll need to use the Physics2.0 forces. Look for the little physics icon and actions that say “impulse” as well as “force”

I haven’t used the pathfinding behavior so I don’t know if the NewSprite9 will keep moving after the event? (this event is only firing once at the beginning of the scene…)

What does the object represent? If you’re using the pathfinder behavior to move the object then maybe there’s a way to do it without using the physics behavior at all.