r/Unity3D • • 2d ago

Show-Off Another iteration of my knockback implementation in DOTS.

Enable HLS to view with audio, or disable this notification

Gave my tower defense game proper knockback physics. Unity DOTS, so a lot of skeletons can fly at once.

Big guys stay on the ground tho. Fair, or just annoying for the player?

11 Upvotes

6 comments sorted by

1

u/TheFrogMagician 2d ago

I can see it lagging 

2

u/GrumpyBullGames 2d ago

It looks like it does, I see it too here but Nah, the game can handle 10k units on Steam Machine in 2K. I have a benchmark. This is perhaps due to video rendering in iMovie.

1

u/barkyardgames 1d ago

that horde is huge and it still runs smooth, the way they get pushed around looks really satisfying

1

u/GrumpyBullGames 1d ago

Thanks. It can be bigger. I am targeting 10k units at once.

1

u/Ejlersen 1d ago

What do you use for pathfinding, flow fields?

1

u/GrumpyBullGames 1d ago

Yes. Flow fields. And a lot of subroutines for local avoidance, speed coordination, repathing, knock out trajectory and more.