how to resize a sphere, that has physics applied?
this is how I'm doing it now:
sphere.scaling.x-=0.01;
sphere.scaling.y-=0.01;
sphere.scaling.z-=0.01;
var velo= sphere.physicsImpostor.getLinearVelocity() ;
sphere.physicsImpostor.forceUpdate();
var velo= sphere.setLinearVelocity(velo);
but I don't think that this is good practice, so I'm loooking for a method like:
sphere.physicsImpostor.scale(-0.01);