aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/bin/assets/ScriptsAssetSet/llAngleBetween.lsl
blob: 21cd8519c2665e8dea0777bdac0bd58bb017ed53 (plain)
1
2
3
4
5
6
7
8
9
10
11
default
{
    state_entry()
    {
        rotation aRot = ZERO_ROTATION;
        rotation bRot = llGetRot();
        float aBetween = llAngleBetween( aRot, bRot );
        llOwnerSay((string)aBetween);
        //llGetRot() being < 0, 0, 90 > this should report 1.570796
    }
}