Hi,
Has somebody any suggestion for turn off/turn on the character "Rigidbody's Kinematic" and "Animator's Apply Root Motion" under "Character: Move along Path" actionlist?
It looks like you're new here. If you want to get involved, click one of these buttons!
Comments
If the Animator is on the same object as the Rigibody, you can animate both of these properties within the Animator itself.
Create a new layer in your Animator controller, and make two animations: one that sets the Kinematic state on, and another off. Then wire up Animator parameters / transitions so that you can control which one gets played by changing the paramter values. This is all Unity's animation workflow - not AC-related - so see Unity's own documentation if you need more help with that.
Once set up, you can then use the Character: Animate Action to change this parameter value - and the "Kinematic" state in turn. The "Apply Root Motion" value should be changeable in the same way.
Alternatively, you can control them with the use of custom Actions.
See this tutorial as well as the Manual's "Custom Actions" chapter.
To change a Rigidbody's "Is Kinematic" value, for example, something like this would do it:
http://pasteall.org/1522474/csharp
See the tutorial linked above for a guide on how to plug it in. The same principles can be applied to an Animator component's "rootMotion" property as well.
Thank you, I solved it!:)