- A* version: 5.3.3
- Unity version: 6000.0.31f1
Hello,
I am using the FollowerEntity
component as a base for pure ECS movement (I used the authoring script from this thread) in conjunction with an XY-axis 2D grid graph.
The problem I’m facing is that my entities are being automatically rotated perpendicularly to the graph, which is not the desired behavior - I want them to retain their original rotation, as in my prefab. Is there a way to disable automatic rotation for pure ECS-based agents?
I know in a MonoBehaviour component this can be done by setting RotationSync
, but it seems like this isn’t possible through ECS components. Am I correct?
If disabling auto-rotation isn’t possible, would writing my own locomotion system in ECS be the best approach?
Thanks in advance!