To the best of my knowledge, when you want to get the velocity you’ll want to get it from the ResolvedMovement
component.
I was able to pull targetPoint
like this:
public void GetDesiredVelocity(){
var entityManager = World.DefaultGameObjectInjectionWorld.EntityManager;
Debug.Log(entityManager.GetComponentData<ResolvedMovement>(follower.entity).targetPoint);
}
It’s not a “direction” I don’t think but let me know what you think.