Sets the rotation of a texture on the chosen face to angle.
void llRotateTexture( float angle, integer face );
Forced delay: 0.2 seconds. Energy: 10.0.
If face is ALL_SIDES then the function works on all sides.
default
{
touch_start(integer total_number) {
// Makes the object's texture rotate a quarter of turn
llRotateTexture(PI_BY_TWO, ALL_SIDES);
}
}
This function only sets the absolute orientation of the texture. See llSetTextureAnim for animations.