- Home /
Crowd of enemies with UnitySteer
I'm experimenting with different libraries to make this work and UnitySteer looks very promising. My end goals:
Support for 50+ enemies
Enemies must follow the player and reach a specified target distance, then stop
Enemies must keep distance of at least 0.5 from each other
Enemies must surround the player instead of bunching up on either side
UnitySteer seems very powerful, unfortunately there is little to no documentation/tutorials on the internet about it. I know it's an open source project, so it is what it is. Here is my current setup, maybe someone can tell what I'm doing wrong:
Problems:
When the enemies reach the player they start freaking out and rotating on all axis, rather than stop moving altogether
I would like to disable rotation completely. It will be a sprite-based game
The movement is not smooth enough - they juggle too much on their way to the target
The enemies have "mass" - they accelerate and decelerate. I need them to move with a constant speed
Any help is much appreciated!
Hey, I'm using UnitySteer in a 3D world with sprites and I have the same problems you mentioned in number 2 and 4. I know its been like 4 years, but have you found the solution for those problems? Thanks!
Answer by HarryB178 · Oct 29, 2013 at 12:24 PM
Why cant you lock the rotation for the sprites? I think it is with the Rigidbody component.
Your answer
![](https://koobas.hobune.stream/wayback/20220613120837im_/https://answers.unity.com/themes/thub/images/avi.jpg)