Playmaker Forum

Playmaker News => Work In Progress... => Topic started by: tchrisbaker on September 05, 2016, 09:23:03 PM

Title: Template for moving a character towards another gameobject
Post by: tchrisbaker on September 05, 2016, 09:23:03 PM
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.