Skip to main content

On Sale: GamesAssetsToolsTabletopComics
Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines

Hi! I am really curious how you made the dough expand like that technically. Is it just a constant circle where you adjust the polygons of or a spline or something? It feels really satisfying whenever it settles back again after pulling it out.

Unreal Engine's "dynamic mesh" feature let us create a disc and control it's vertices. Using the mouse as input, I loop through points that are a certain radius away from it and apply an offset in the direction it moves. (That offset fades off towards the edges to keep it smooth)
To prevent the mesh from folding over itself, I apply a "mesh smooth" a bunch of times per second. That's what's causing it to "settle back" as you said :D

thanks for the explanation.  Appreciated! :)