Categories
PlayMaker Unity

More PlayMaker Tips

PLAYMAKER TIPS

It’s easy to mistake PlayMaker for a visual scripting tool a la Kismet or uScript, but it is much, much more than that. In fact, I can see a visual scripting tool being used hand in hand with PlayMaker. PM is a tool to help you create state machines. It encourages you to develop games using a slightly different mentality–use states for everything! Of course, it’s not feasible to put all the weight on PM, but there are specific scenarios in which it shines. For example, handling input! Here are some quick tips to get the most out of PlayMaker: 

Categories
PlayMaker Unity

PlayMaker and NavMesh

Either I’m blind, or PlayMaker doesn’t come with an Action for the Unity NavMesh feature.

In either case, it’s only a few lines of code, which you can find below.

The only thing you may want to change, depending on how you’re using the action, is whether or not to include the  Finish() method in there. This will exit the state if you have the transition set up, and you may or may not want to do that.

Here is the code: