I need help with getting AI bots to roam around by themselves or NPC's

I’m making a game, and i want NPC’s to roam around you don’t have to talk to them, i just want them to move around. the one i want to move is the one behind you when you launch the game
and I’m pretty new to coding so please help

Hi @nekaki347gggggggggg!

Maybe my Basic enemy AI example project can help you. You probably only need to adjust it to your needs. You can find a link to the project in the topic below.

thank you so much!

1 Like

ok, uhh my character is walking backwards in circles😅
is there a solution?
https://playcanvas.com/editor/scene/1846663

You need to create a child entity that is rotated 180 degrees and place all entities of your character into it. (I did the same in the example project).

ok ty :slight_smile: