Search found 5 matches

by frank_li
2023/12/14 19:08
Forum: Bug Report
Topic: AgentMoveToPosition problem
Replies: 4
Views: 2113

Re: AgentMoveToPosition problem

OK, it seems that if the destination target is outside the navmesh SetDestination moves the agent to the closest point it can reach, stops then and returns true. So in this case your CantMove will be never called and the agent is stalled.
by frank_li
2023/12/14 11:37
Forum: Bug Report
Topic: AgentMoveToPosition problem
Replies: 4
Views: 2113

Re: AgentMoveToPosition problem

caitsithware wrote: 2023/12/14 10:41 The CantMove transition will only transition when NavMeshAgent.SetDestination() returns false.
I've seen that in your code, but this happens when the target position is outside the navmesh, so SetDestination should actually return false. I'll investigate this further.
Thanks for fast reply.
by frank_li
2023/12/14 09:56
Forum: Bug Report
Topic: AgentMoveToPosition problem
Replies: 4
Views: 2113

AgentMoveToPosition problem

Hi, I found some problems with the AgentMoveToPosition behavior. If the agent moves fast from greater distance the Stopping Distance is not respected. The agent is moved then exactly to the given position. E.g. When I start from a distance like 8 m with a speed of 8 he ignores the distance, but when...
by frank_li
2023/12/07 16:05
Forum: Question
Topic: Root motion
Replies: 3
Views: 2480

Re: Root motion

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
by frank_li
2023/12/05 08:57
Forum: Question
Topic: Root motion
Replies: 3
Views: 2480

Root motion

Hi,

how can I use root motion with the AgentController?