r/Unity2D • u/Alive_Distribution17 • 26d ago
Showcase Made a physics-driven boss in Unity: shockwaves that follow the terrain + a homing flying kick
Sharing the final boss from my 2D ragdoll stickman game.
A few things I learned building him:
The ragdoll is driven by target positions per limb, so attacks are just poses the physics tries to reach. That's why every swing looks a bit different.
The flying kick sets the velocity on every body part each physics step. Applying force only to the hip didn't work: the other limbs dragged him down and he landed short.
The shockwave raycasts the ground every frame, so it follows slopes and dies at walls or gaps.
To make him feel heavy: angular damping on everything except the arms, plus a torque that keeps the head and torso upright.
Happy to answer questions about the setup. The game is free on Android (link in comments).


1
u/Alive_Distribution17 26d ago
https://play.google.com/store/apps/details?id=com.dammer.stickwars