mirror of
https://github.com/opensim/opensim.git
synced 2026-08-11 03:45:35 +08:00
More inventory work for CharlieO. Final patch to make it all work yet to come.
This commit is contained in:
11
bin/assets/ScriptsAssetSet/llAngleBetween.lsl
Normal file
11
bin/assets/ScriptsAssetSet/llAngleBetween.lsl
Normal file
@@ -0,0 +1,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
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user