Scale Softbody during simulation? [HELP]
-
- Posts: 73
- Joined: Fri May 01, 2015 8:23 pm
Scale Softbody during simulation? [HELP]
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!
-
- Posts: 42
- Joined: Sun Aug 07, 2011 5:27 am
Re: Scale Softbody during simulation? [HELP]
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
on a mouse click event that way the sphere could be scaled at any time durnig the simulation
-
- Posts: 73
- Joined: Fri May 01, 2015 8:23 pm
Re: Scale Softbody during simulation? [HELP]
God i'm so stupid Thanks for the help bro