There's a feature of the physics engine I don't get. I have the following script fragment:
touch_start(integer total_number)
{
llSay(0,"Touched"
;while (llGetEnergy()<1.0)
llSay(0,"Waiting for energy"
;llApplyImpulse(llGetMass()*<0,0,10>, FALSE);
}
on a physical sphere 1 meter in size. When I touch the sphere it usually leaps in the air as expected, with what looks like an initial velocity of 10 vertically, but sometimes it just does a little jerk. I thought it might have lost 'energy', so I put that loop in - but in fact it never waits for energy. I guess something else is affecting it - but what?