Scale Softbody during simulation? [HELP]

Post Reply
johnsonalpha
Posts: 73
Joined: Fri May 01, 2015 8:23 pm

Scale Softbody during simulation? [HELP]

Post by johnsonalpha »

I have a sphere softbody what im trying to do is change the scale of the softbody during the simulation is there anything i can do to achieve that effect? I tryed setRestLengthScale but that doesnt seem to do anything! Please Help!
Xcoder79
Posts: 42
Joined: Sun Aug 07, 2011 5:27 am

Re: Scale Softbody during simulation? [HELP]

Post by Xcoder79 »

Have you tried using the scale method for softbody psb->scale(btVector3(1,1,1));
on a mouse click event that way the sphere could be scaled at any time durnig the simulation
johnsonalpha
Posts: 73
Joined: Fri May 01, 2015 8:23 pm

Re: Scale Softbody during simulation? [HELP]

Post by johnsonalpha »

God i'm so stupid :D Thanks for the help bro :)
Post Reply