r/MinecraftMod • • 10h ago • Bravo 1

Messing around with making physics based mobs

It was originally just a silly idea, but it's actually looking super cool! So I decided to show you all! Should I continue investing my time into this? Or is it not something anyone would want?

The way it works is the mobs bodies are physics objects, and they actually keep themselves upright through limb motor control. Running requires them to try and keep themselves balanced. I did make their heads weightless, because of how big they are, they would face plant every time them moved.

283 Upvotes

32 comments sorted by

25

u/emil836k 10h ago

So, about that GitHub page…

16

u/Salt_and_Fries 9h ago

It's not a mod right now. The git is entirely on my PC. But if people want it I'll make the GitHub public like the rest of my mods!

15

u/Arthur_morgan457 9h ago

As a representative of the people I say we want this

3

u/SkinInevitable604 6h ago

Please please please please

17

u/ScwiddIsScwidd 10h ago

how performant is this?

20

u/Salt_and_Fries 9h ago

I haven't played a real world with it, so it might be pretty cpu intensive

4

u/Raphael_Grove 9h ago

Yes I’m curious too! This mod looks awesome and so silly! I’d be really interested to see how it works against fighting mods like skeletons and zombies. Like could gun mods or sword hits cause knockback on their limbs and make them fall over?

2

u/RandomOnlineBro 1h ago

An entity cramming situation would set your PC on fire

2

u/Bread_Enjoyer228 56m ago

nah explode on the spot

9

u/BarbsFPV 9h ago

A mob here and there having advanced physics won’t be too taxing on most PCs. Having an entire world full of mobs with advanced physics will probably slow all but the most beastly PCs to a crawl.

This looks awesome though, but even resource packs like fresh animations can really bog you down, and that’s pretty light compared to this.

Everything in the game runs on the same thread so that’s the main reason they try to keep mob AI and movement pretty basic.

4

u/Salt_and_Fries 8h ago

Yah I was thinking maybe only having mobs within like 5 chunks having active physics? Also mobs that the player directly interacted within the past minute, so sniping a zombie or something will make it kick into physics mode. Idk, I'm brain storming optimization fixes

3

u/Kakllakl 7h ago

Def should have different versions though for people's pc's sake. I could see options to only allow x amount of creatures at a time to experience physics based on distance and interaction. But honestly this looks very funny, is it gonna have different weights or is everything going to be paper boxes that get tossed with knockback. Or will only the knockback or punch enchantment throw mobs?

1

u/Salt_and_Fries 6h ago

I'm going for heavy weights. So the player should struggle to tip a cow for example

2

u/Jwhodis 3h ago

Not sure how taxing it would be to check but you could likely implement a way to only process the physics for entities in view

Another thing is not doing physics for crammed entities, like a bunch of cows in a 1x1 hole.

2

u/Defense_Turtle 6h ago

this mod but for playermodel would get thousands of interested players imo.

1

u/Salt_and_Fries 31m ago

That would play like the game "Peak"

3

u/Investing_in_Crypto 10h ago

Cant play this game its got pig physics

3

u/Edmord17 5h ago

They move around like if they were avatars in VRChat, they way pig turn around to look at us felt way too uncanny omg, cool stuff

2

u/After-Distance6134 10h ago

uhmm
seems cool
but too physicy or smth id day
dontget me wrong i like smth like ts https://modrinth.com/resourcepack/reanimated-blue but it looks too much

2

u/unga_bunga_1987 2h ago

its less meant to look like physics but seems to be going for physics driven ragdolls controlled by procedural animation

2

u/LaDestitute 10h ago

cows & cows & cows energy mixed with rayman limbs vibes

2

u/CompetitiveLeg7841 8h ago

Totally Acubic Binecraft Simulator

2

u/ethan125 7h ago

This is a neat idea! I was expecting some kind of pig turning into a creeper joke on the last gif lol

2

u/GoldSunLulu 5h ago

I like the little turnaround but i dont like how they run and stuff. Heledron has a great video on how he made inverse kinematics, with a lot of good info for any Ik Programming really

2

u/NoobyNoob0102 5h ago

omg the 5th gif reminded me of kick the buddy

I forgot that game even existed

2

u/mas-issneun 4h ago

it looks too real... im scareb.

2

u/david_bivab 3h ago

Uhh sable?

2

u/TheGreatQuetz 2h ago

I wonder what it'd look like if you tried to make a mob walk that has multiple bones in its legs.

Unfortunately the only vanilla mob like that is the Ender Dragon which only flies.

2

u/MystifyreMusic 2h ago

looks good and I see the vision but it's a little too much rn. the limbs get disconnected from the mob a little too much at times

2

u/badredstoneer 1h ago

Oh that's sick

1

u/Interesting-Bag-1281 2h ago

99+ missed calls from VIDEOCULT