removed useless _ folders

This commit is contained in:
Fred Beckhusen
2015-08-09 16:54:31 -05:00
parent fde850293c
commit 948a44dfba
5204 changed files with 2425579 additions and 0 deletions

View File

@@ -0,0 +1,3 @@
<Solution name="Swing__for_pivot_as_root_updated">
<Project name="Swing__for_pivot_as_root_updated" path="Swing__for_pivot_as_root_updated\Swing__for_pivot_as_root_updated.prj" active="true"/>
</Solution>

View File

@@ -0,0 +1,84 @@
// :CATEGORY:Door
// :NAME:Swing__for_pivot_as_root_updated
// :AUTHOR:Eloise Pasteur
// :CREATED:2010-01-10 05:20:56.000
// :EDITED:2013-09-18 15:39:06
// :ID:860
// :NUM:1197
// :REV:1.0
// :WORLD:Second Life
// :DESCRIPTION:
// Swing - for pivot as root
// :CODE:
// Put this script in the pivot - the thing the swing swings around (it doesn't have to be a long rod). That needs to be the root of the prim set that actually swings - if you want/need a frame that needs to be a separate item. SL doesn't yet allow us hierarchical linking.
// Play with these bits - the orange comments tell you what's going on with each line I hope.
integer swing=FALSE; //So it starts out NOT swinging
float time=0.1; //Decreasing this (on it's own) makes the swing move FASTER and vice versa
integer steps=20; //The total number of steps in the swing's path. More steps=smoother swing. More steps (alone) means slower swing too - time for a complete swing cycle is steps * time (so 4.8 s with the default settings).
integer swingDegrees = 30; //How far from the vertical the swing moves
//If you play from here on down you might break the script. Do so at your own risk. There are no comments - just to encourage you NOT to play.
integer i=1;
float swingRad;
vector normal;
rotation Inverse(rotation r)
{
r.x = -r.x;
r.y = -r.y;
r.z = -r.z;
return r;
}
rotation GetParentRot()
{
return Inverse(llGetLocalRot())*llGetRot();
}
SetLocalRot(rotation x)
{
llSetRot(x*Inverse(GetParentRot()));
}
default
{
state_entry()
{
normal = llRot2Euler(llGetRot());

View File

@@ -0,0 +1,6 @@
<Project name="Swing__for_pivot_as_root_updated" guid="D7BAFB68-6C00-1014-B904-200204C60A89">
<Object name="Object" guid="D7BAFC8B-6C00-1014-B904-200204C60A89">
<Script name="Swing__for_pivot_as_root_updated_1.lsl" guid="D7BB3883-6C00-1014-B904-200204C60A89">
</Script>
</Object>
</Project>