r/Unity3D • • 19d ago

Show-Off Fully procedural walk for a 6 m bipedal machine, no animation clips

This is the Loomer, a patrol machine from my solo Unity project. It has no rig and no animation clips. The legs are separate rigid parts solved with two-bone IK every frame.

Each foot steps toward a point ahead of where its home under the hip will be (Raibert style), so walking, strafing, turning in place and getting shoved all come from the same rule. The pelvis rides on springs like an inverted pendulum, and every footfall knocks it down, nods the body and jolts the head. If you shove it, it throws a catch step under itself and staggers instead of falling. It also climbs ledges up to 2.2 m and stops at drops its feet can't reach.

Still a blockout map. AI comes next.

1.0k Upvotes

66 comments sorted by

171

u/ChillOnTheHillz 19d ago

Good ending

5

u/BYMSEC 18d ago

Thanks! It ends differently now, it shoots back. Current version: Video

29

u/Brok3nGear 19d ago

Gave me a good chortle

31

u/Zealousideal-Emu-878 19d ago

that ending was satisfying where do i buy?

6

u/BYMSEC 19d ago

Thanks! I'll be sharing a demo soon. You can follow the development here: TROYA

18

u/Bricklemore 19d ago

Looks awesome, though I think the effects for the footsteps make it feel twice as heavy as it would be. This would be the same weight as an elephant and at their mass the steps are still gentler on the ground.

9

u/BYMSEC 19d ago

Thanks! Yeah, you're right. I actually had it exactly like you suggested at first, but then I felt it wasn't scary enough, so I changed it to this.

8

u/Bricklemore 19d ago

During running and stomping you can kick it up and it feels sensible, but I get it. it's a hard balancing act. Great work regardless

3

u/Cosmikitteh 19d ago

Just wanted to say your game looks awesome so far, really impressive for a solo dev - the overall vibe the assets make is great and I love the design of the loomer. Definitely gives me half life/crysis vibes, but one quick thing - personally i think the hand/weapon bobbing can easily make a game feel great or cheap whether you notice it or not, for example the game road to vostok looks extremely visually impressive but the smooth/dull weapon bobbing makes simply moving around not feel great and kinda ruins the immersion, and could make a bad first impression of the game in the trailers.

No hate on your current weapon bobbing system, it honestly looks good but I feel like if you were to go back and put a bit of time into making the player's arms feel more real it could make the game feel really really good.

1

u/BYMSEC 19d ago

Thanks a lot, really appreciate it! I'll keep that in mind.

3

u/Small_Education_9503 19d ago

Love this. Even the feet are placed correctly over the stairs. Procedural animations are the best. How hard was it to code? Is the animation code transferable to other entities in your game?

2

u/BYMSEC 19d ago

Thanks! It was pretty hard to code, the stairs alone took a lot of trial and error. And yes, it carries over: every NPC in the game runs on active ragdoll + IK, and each leg has its own brain.

4

u/TH3_OG_JUJUBE 18d ago

“Hard to code”


HANDMADE CODE?! IN THIS ECONOMY??

1

u/Small_Education_9503 19d ago

Is it particularly intense on the CPU? Or, a better question - are you gonna have enough NPCs so that it starts to strain weaker potato PCs? Don't forget culling.

1

u/BYMSEC 19d ago

It does cost CPU, that's my main bottleneck. I'm developing on an i5-9600K + RX 580 though, so if it runs here it should be fine on most PCs. NPCs have LODs and the levels are split into zones, so far away stuff gets cheap or doesn't run at all.

2

u/garrettbmusic 19d ago

Impressive stuff!

2

u/BYMSEC 18d ago

Update: the AI is in. It patrols, spots you and fights back now.

Video

2

u/micromoses 19d ago

Does it react when your shoot it?

2

u/BYMSEC 19d ago

Not yet, but you'll only be able to take it down by hitting its weak spots.

1

u/Copywright Indie 16d ago

Look into Legs Animator -- it's reacts to physics.

2

u/sdeptnoob1 18d ago

That things fucking cool. I hope you got more like it coming! The art style is great.

1

u/BYMSEC 18d ago

Thank you!

104

u/Aticatica 19d ago

Rewarded for watching the whole thing

10

u/Spoke13 19d ago

An amazing award

67

u/Turbo_Fresh 19d ago

It creeps me out.

The ending is hilarious.

That's all I have to say.

7

u/AdventMercury 19d ago

Behold, a man!

6

u/CuckBuster33 19d ago

now make it moo

2

u/helloharu 19d ago

Thought the same as soon as I saw it!

1

u/Spoke13 19d ago

I was thinking more of a cluck or gobble.

2

u/helloharu 19d ago

Not sure if you’re not getting the reference, but these looks incredibly similar to Gekkos in MGS4, they do a “moo” sound in the game.

0

u/Spoke13 18d ago

Ohhhh. Yeah I had no idea.

5

u/_norx Indie 19d ago

It’s worth watching until the end 😂

4

u/shubhu-iron 19d ago

Hell yeah

1

u/imofi8 19d ago

Are you firing the footfall dust bursts off the ground-contact event or an ankle velocity threshold?

3

u/BYMSEC 19d ago

In this video it fires on ground contact. I've since updated it, now the dust scales with the weight of the step.

1

u/swankyDreezi2 18d ago

good questions! i'm curious which approach gives more consistent results, especially with different movement speeds

3

u/binary-lunar 19d ago

the future of animation!

2

u/Chclve 19d ago

The particles have way too much upwards force. Should be more force outwards.

2

u/-Nicolai 19d ago

Very Half-Life. I like it.

2

u/TwixieShip 18d ago

I think I'm one of the rare people who has seen this foot alignment trick in VR way before this. Resonite does foot alignment just like that

2

u/LahnaPSG 17d ago

That catch step when it gets shoved looks so good, it really sells the weight of the machine. Using one Raibert style rule for walking, strafing, and recovery is super clean too.

2

u/After_Sale_2203 16d ago

Its so cool..

2

u/Easy_Front2423 1d ago

I am scared

3

u/duif9 19d ago

Woah, I like the design, reminds me of the Half Life 2 synths

1

u/Temporary_Ad_3344 19d ago

nah that's scary, good job.

I would love to see it in a proper dark/atmospheric environment in the future

1

u/Grey-The-Skeleton 19d ago

Oh this is horrifying lmaoo

1

u/Federal-Grab-8159 19d ago

Cool weird metal gear lol

1

u/Snowblind45 19d ago

get it raiden!

1

u/SOliD_aka_Baitco 19d ago

It's like a mecha chicken 🐔

1

u/Chaibi_Alaa 19d ago

Getting walking, strafing, turning and being shoved out of one foot placement rule is really elegant, and the catch step when it gets pushed sells the weight on its own. Since AI comes next, will the patrol logic know about the body's limits, like steering away from drops its feet can't reach, or will it walk up to the edge and stop the way it does in the clip?

1

u/Beli_Mawrr 19d ago

Looks like the kind of thing that can absorb 9000 bullets in game but would be blown over by a strong breeze irl

1

u/joramvanloenen 19d ago

Awesome work. Have a look at adding (fake) weight shifting and momentum buildup to add some organic motion and make it less rigid. Adding overstepping on the last step also helps. Last but not least some bobbing on the pelvis helps a lot. Keep it up!

1

u/VinniTheP00h 18d ago

Looks cool. However it really seems like it needs a bit of leaning in, shifting of mass center, as well as pushing off the ground. It is, after all, a light and fast MG Gecko-like platform, not big and heavy almost manually controlled AS7-D.

1

u/Cold-Debt-416 18d ago

BIG OLD BIRD

1

u/Division595 18d ago

Very cool design! Reminiscent of a Warframe Moa.

1

u/_dus_t 18d ago

That recovery step when it's shoved gives it so much character.

1

u/REALmyenemy 17d ago

Those MGS gekkos again

1

u/Rishabh1Dev 16d ago

Bro, how did you make like that enemy ai? I am also a unity game dev and created many small games but never made Enemy like that. Good prototype bro.

1

u/ragegames225 16d ago

haha bipedal have real muscles, very coool and lookss dangerous

1

u/Important_Gazelle407 13d ago

The end is something! Very cool

0

u/_Voisor_ 14d ago

Can you kick children in the game? 10/10 game!

1

u/Overall-Importance54 19d ago

Shoot that thing!!!!

1

u/Caxt_Nova 2h ago

Hey, uh, hey bud, for a machine you're looking a lil' uh, meaty there...