Files
LSL-Scripts/Script Tests/Script tests/Object/llAngleBetween.lsl

20 lines
451 B
Plaintext
Raw Normal View History

2019-03-17 23:20:45 -05:00
// :CATEGORY:Scripting
// :AUTHOR:Justin Clark-Casey (justincc)
// :KEYWORDS:Opensim
// :REV:1
// :WORLD:Opensim
// :DESCRIPTION:
// One of many tests for Opensim
// :CODE:
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
}
}