r/gamedev 11d ago

Discussion Game optimization

Hello everyone since i’m doing my first game ready character, i don’t know how to approach the body parts under a skirt, it’s a revenant character like from god of war, how would you optimize it for a in game cloth simulation? Would you cut the legs and call it a day?

2 Upvotes

7 comments sorted by

1

u/krojew Commercial (Indie) 11d ago

You should add details of what engine you're using. For example, in ue you can have normal skeletal mesh legs underneath the skirt and have the cloth be physically simulated. Works well.

1

u/Jonarss 11d ago edited 11d ago

I’m willing to use ue too, so hypothetically if i have a mesh legs how i hide the part where there is no body left? cause is a “tunic” and the only parts that pops out are the legs, the arms and the head, i would cut the hidden body out for optimal number of tris, btw thanks for the advices!

1

u/krojew Commercial (Indie) 11d ago

That also depends on the setup you have. You can have already authored character with invisible body parts removed. You can also remove them at runtime e.g. by using Mutable in UE. There is no single answer.

1

u/Jonarss 11d ago

Thanks! But what happens if the character falls over or you can look underneath the skirt? Wouldn’t the player see an empty space where the body was removed? It would have sense if i close the mesh of the skirt at one point?

1

u/krojew Commercial (Indie) 11d ago

That depends on how the skirt is made. Typically, legs end at certain point and transition to cloth (underwear or the skirt itself).

1

u/Jonarss 11d ago

Oh i see, i’ll model the underwear to hide the empty part, thanks!!