the plasma in the bulbs is a linkset of torus and meshes.
as half of them are at 45 degree angles to the x and y axes, but they need to rotate on their own local axis ranndomly clockwise/counterclockwise at different speeds, they use the followinng script:
Where the 'value' variable is positive or negative depending on whether the object is at 45, 135, 225 or 315 degree anngles.default
{
state_entry()
{
llSetTextureAnim(ANIM_ON|LOOP|SMOOTH,ALL_SIDES,1,1,1,1,0.25);
llTargetOmega(<-.7171,0.7171,0>,1,0.1);
llSetTimerEvent(llFrand(5.0));
}
timer()
{
float value = (llFrand((llSqrt(2)*1000))-((llSqrt(2)*1000)/ 2))/500;
llTargetOmega(<-value,value,0>,1,0.1);
llSetTimerEvent(llFrand(5.0));
}
}
However, I find that they occasionally precess on their local axis and would like a solution,