Page 1 of 1

Root motion

Posted: 2023/12/05 08:57
by frank_li
Hi,

how can I use root motion with the AgentController?

Re: Root motion

Posted: 2023/12/05 23:54
by caitsithware
Hi,

AgentController does not support root motion.
Please create a script that disables NavMeshAgent's updatePosition etc. and updates transform.

For more information, please refer to the AI Navigation package manual "Coupling Animation and Navigation".

Re: Root motion

Posted: 2023/12/07 16:05
by frank_li
I tried your tip, but that is not working well. Are there any plans to add support for root motion in the agent controller? I think that a lot of people would be interested in that feature.

Regards Frank

Re: Root motion

Posted: 2023/12/08 00:12
by caitsithware
There are no plans at this time.
As written at the end of "Coupling Animation and Navigation": "What works best very much depends on the specific use-case."
How the NavMeshAgent position and root motion position are combined is determined by the specification.
It is difficult to provide general support because detailed adjustments are required.