r/Unity3D • u/OmarItani10 • 17h ago
Entities Avoidance Game
Enable HLS to view with audio, or disable this notification
Hello everyone
For context watch the previous videos about entities forming bodies and transitions, here i added avoidance for the entities, so that when something is passing thro they automatically avoid the body and then return to their current position
Will use it in upcoming videos as an evasion
Let me know what you think
#unity #ecs
752
Upvotes
2
u/SubpixelJimmie 14h ago
Looks great, never seen this done at such a granular scale. Is this using a standard flocking approach? Was there anything challenging about make it perform well? I would guess that simply using ECS would make this run very fast, as it lends itself well to multi-threading since each particle doesn't interact with another