Camera Path PlayMaker Tutorial
In this tutorial, we will cover the basics of using PlayMaker to interact with Camera Path Animator.
You will want to ensure you have a Camera Path Animator and PlayMaker objects set up in your hierarchy.
In the PlayMaker FSM Browser you can add actions with the Action Browser on the bottom right. Click on this button to open the Action Broswer.
Back in the PlayMaker window you have the Invoke Method action. Change Game Object to Specify Game Object. It will turn red and you must now specify a game object. Choose your Camera Path. Once selected, it will turn back from red to grey.
Next you must select a Behaviour. You can choose to target either the main Camera Path component or the Animator component. It’s more likely you’ll want to use the Animator at runtime.
Now you can select a Method Name from a list. See below.
You should consult the documentation on what functions do what. Most functions you can call and they will simply work. Play, Pause, Stop, Reverse all do what they say. Some functions like Seek require further data to be passed to them such as the percent you want to seek to.
Instead of using Invoke Method, Send Message would be more appropriate here. Select it from the Actions Browser