How to apply custom movement system to FollowerEntity?

  • A* version: 5.3.3
  • Unity version: 6000.0.34
  • Recast Graph

Hello. I am trying to convert from RichAI to FollowerEntity.
In RichAI, I set canMove to false and use only the desiredVelocity to move the character using a physics-based system I created. However, I found out that in FollowerEntity, disabling canMove also stops updating desiredVelocity.
All I need is the desiredVelocity, excluding the actual movement. Is it difficult to use this approach with FollowerEntity? Thank you.

Hi

You could remove the tag component SimulateMovementFinalize from the FollowerEntity.entity entity. This will make the agent do all calculations except actually move the agent.

I tried removing it but ‘desiredVelocity’ is not updated from Vector3.zero.