Hello, when I use SetMass to change mass during game, the softbody get launched in the air so fast it get in NaN coordinates.
My use case is a blob eating, I want to increment the mass of the blob when it eats.
I use SetMass once on instantiation to set initial mass, wich work fine, but once I detect a collision and change the player's blob mass, it get launched in the air.
If I increment mass by some very low value like 0.00001f the blow slowly accelerate upward.
Is there a better way to change mass ?
Thanks
My use case is a blob eating, I want to increment the mass of the blob when it eats.
I use SetMass once on instantiation to set initial mass, wich work fine, but once I detect a collision and change the player's blob mass, it get launched in the air.
If I increment mass by some very low value like 0.00001f the blow slowly accelerate upward.
Is there a better way to change mass ?
Thanks