aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/bin/assets/ScriptsAssetSet/llSetRot.lsl
blob: ce3009c333f5dac68c40274a55a7dcb12074bd75 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
default
{
    state_entry()
    {
        llOwnerSay("Touch me");
    }
    touch_start(integer total_number)
    {
        rotation Y_10 = llEuler2Rot( < 0, 0, 30 * DEG_TO_RAD > );
        rotation newRotation = llGetRot() * Y_10;
        llSetRot( newRotation );             
    }
}