XaiJu
blobygon
blobygon

patreon


WIP - Rolling

Good news, everyone! I finally had a break through last night and got rolling to work with the softbody physics. After trying every built in method available with this physics plugin (and getting poor results for all of them) I went down a bit of a rabbit hole and developed my own technique with some custom code.

As I've explained before, every softbody is made up of a bunch of particles that can squish and deform. A long time ago, I got rolling to work in a defunct physics plugin by simply parenting body parts (like head, hands, etc) to these particles for a firm attachment. It was super easy! You might remember this gif from a few years ago.



However, the plugin I currently use does not have this ability since the particles are not real game objects and they only exist in code or in the editor. This makes the plugin much more efficient, but it also limits easy access to the particles. So to attach body parts I use a skeleton embedded inside the softbody with joints to firmly hold all the body parts in place. It works well, but this method does not allow any sort of physics-based rolling, hence why you can only waddle right now. Here's what that setup looks like behind the scenes.



The plugin has some other built in methods to attach things to a softbody, but the results are pretty janky. Body parts often vibrate or detach whenever the softbody is rolling. So I figured it was impossible to get the results I wanted with this plugin. Here's one disappointing test.


In a last ditch effort, I investigated ways to access the particles programmatically and I eventually found a viable method. First, I manually isolate groups of particles for body parts to attach to. Here's a group for the head attachment.

 

Then some code cycles through all the particles in the group to retrieve their positions and orientations. It averages them all and tells the body part to follow that average position and rotation (plus some offset values to fine tune it). And voila, the body parts stay firmly attached without any fussing or jank! It sounds pretty simple as I type this out, but finally arriving at this solution took a lot of trial and error.

I think the hard part is over now, but there's still a slew of things I need to hook up and fix to make this work with all the other systems in the game. Hopefully that all goes smoothly and I can release the next build in a week or two.

WIP - Rolling WIP - Rolling

Comments

Yes. Not sure when, but I'll keep adding new stuff like that here and there as I continue development.

blobygon

Any plans for new clothing items in the future

Pro Glitch Gamer

I'll see what I can do

blobygon

YOOOO please make a Katamari Damacy mini game!!!!!

Guydra

I wish you luck

blobygon

Man I love game development, no matter what it is, it’s always fascinating

HolidayLancia

Been trying to get a virtual machine up and running on my desktop so I can finally play this, but I don’t think I have everything needed to do that either.

Andre Thire

That’s awesome to hear can’t wait to see the new build the next week or two. ^^

Nick

Ohh I would love this accompanied by some sloshing noises

rattie

I am so excited idk if you remember but I suggested rolling a while back before I knew about the difficulty im so proud that youve figured a way to incorporate it

Rip vanwinkle

that combined with the option of her being a slimegirl would be super rad

howabout no

Also, super jazzed at the idea of being able to play katamari damacy but with a blob girl and food. Lol. Ooh, wait that's a fuckin' baller level idea lmao

Donald Barnett

Good work, can't wait to see it in build 🫡

Donald Barnett

Idk how sexually explicit I want to get with this project, but we'll see. :P

blobygon

I'm not totally sure how it will work yet. I'm thinking rolling will happen automatically in the last stage of the blueberry transformation instead of waddling. Then I might let you choose if you want the waddling or rolling body when upgrading to the Blob class for the round body type. Rolling and waddling require very different setups, so I can't smoothly swap between them. I'd have to completely replace the player like I do when upgrading to the final weight classes.

blobygon

Let's go! Out of curiosity do you think you'll include any more lewd stuff in your projects since the last one you made included genitals? Your snackrooms btw inspired me to join your patreon

DiscoJacket

Absolutely splendid development! Blobygon is developer of the year.

Skyler Silva

That's awesome man! I was going to say, is this going to be it's own thing and locked behind the blueberry stuff, or is it added onto the round body in general?

LordOfMeaty

Woohoo! Loved the technical explanation~

PanDemonics

I love the technical details! That sounds like one hell of a process to work through.

Nightshade010101

Another Home run knocked out of the park! Been looking forward for this update for since I first pledged on patreon. Very Eager to see what else you have in store for us :)

Popparocksordonpatch


More Creators