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