2D softbody?
Posted: Sun Dec 18, 2011 8:49 pm
Hi everyone,
I need to draw some kind of a compact softbody (like a bubble) in 2d, I tought I could use IVideoDriver::draw2DVertexPrimitiveList() with a list of moving vertices. These vertices will keep a distance from the center of the bubble but I want them to have a movement (random, no physics/collision or anything involved) so it would actually look like a soft body (Hope you guys know what i mean). My question is, how could I make the vertices move randomly (and still form a bubbly sphere)?
I don't want to add physics or anything it's only to add nice effect to the render.
Thanks for ideas and suggestions.
I need to draw some kind of a compact softbody (like a bubble) in 2d, I tought I could use IVideoDriver::draw2DVertexPrimitiveList() with a list of moving vertices. These vertices will keep a distance from the center of the bubble but I want them to have a movement (random, no physics/collision or anything involved) so it would actually look like a soft body (Hope you guys know what i mean). My question is, how could I make the vertices move randomly (and still form a bubbly sphere)?
I don't want to add physics or anything it's only to add nice effect to the render.
Thanks for ideas and suggestions.