Hello, anyone have an idea how to creat NPC roaming the level, based on third person controller?
I need to create crowds, just NPC placed in the level, and they randomly walks the level
Does playcanvas has template script for that?
Hello, anyone have an idea how to creat NPC roaming the level, based on third person controller?
I need to create crowds, just NPC placed in the level, and they randomly walks the level
Does playcanvas has template script for that?
Hi @trisutridi! You can create checkpoints in your scene and move the NPC in the direction of a checkpoint. When the NPC has reached the checkpoint, you can move it to another. Be sure there are no obstacles in the way. As far as I know there is no template script for that.
Thanks, btw do you have any reference on how to create checkpoints for that purpose?
You can use triggers for that purpose: https://developer.playcanvas.com/en/tutorials/collision-and-triggers/