Playmaker Forum

PlayMaker News => Work In Progress... => Topic started by: tchrisbaker on September 06, 2016, 12:23:03 AM

Title: Template for moving a character towards another gameobject
Post by: tchrisbaker on September 06, 2016, 12:23:03 AM
Attached is a template I created to move a character towards another character. It uses Navmesh Raycast to see if it can simply move forward (using a root motion animation). If not, it will use Unity pathfinding. I call it using RunFSM  every game loop. I think I put a small wait in between calls so it can reevaluate whether to use pathfinding or not.