Pulsating softbody

Stubob95
Posts: 1
Joined: Thu Jan 23, 2014 1:45 pm

Pulsating softbody

Post by Stubob95 »

I'm trying to make a softbody grow and shrink, my first attempt was to use setRestLengthScale(btScalar restLength) but this doesn't seem to affect the softbodies size at all.

I don't want to just scale as I want it to collide with rigid bodies as I make it grow.

What's the best way to achieve this?

Thanks