Expose AgentIndex from IAgent

Hey,

Im currently adding agents to the RVOSimulator using AddAgent and it returns an IAgent, but this can’t be stored on a struct IComponentData and later I want to remove this.

Can AgentIndex be exposed or is there another way of accesing it? Cant create one with index and version as its all internal or readonly.

Thanks

Hi

If you want to use RVO with ECS, then use the Pathfinding.ECS.RVO.RVOAgent component together with a few others: