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="Fence_collision_script">
<Project name="Fence_collision_script" path="Fence_collision_script\Fence_collision_script.prj" active="true"/>
</Solution>

View File

@@ -0,0 +1,6 @@
<Project name="Fence_collision_script" guid="D8B08CAD-6C00-1014-B904-200204C60A89">
<Object name="Object" guid="D8B08D9B-6C00-1014-B904-200204C60A89">
<Script name="Fence_collision_script_1.lsl" guid="D8B0C6A1-6C00-1014-B904-200204C60A89">
</Script>
</Object>
</Project>

View File

@@ -0,0 +1,67 @@
// :CATEGORY:Collider
// :NAME:Fence_collision_script
// :AUTHOR:fred.beckhusen
// :CREATED:2011-07-19 20:55:45.660
// :EDITED:2013-09-18 15:38:52
// :ID:299
// :NUM:398
// :REV:1.0
// :WORLD:Second Life
// :DESCRIPTION:
// Fence_collision_script
// :CODE:
// start of code - this next line may need modifications
vector PUSH = <0,50,0>;
// bigger numbers make it fall over and further away. How much push to use depends upon how massive your fence is
// you can push on more than 1 axis, such as <50,50,0>
// negative numbers will 'pull'
// <0,50,0> pushes in the Y axis < X ,Y, Z>. <0,-50,0> will pull in the Y axis.
// you may have to change this to <50,0,0> or even <0,0,50> depending upon how your object is rotated
// if you set this to <0,0,0> it will not fall over except by gravity and any force from the collision itself
// these two variable are located outside the 'default' so that all events can set and read them
vector myPos; // place to store the initial position
rotation myRot; // place to store the initial rotation
default
{
state_entry()
{
llSetStatus(STATUS_PHYSICS, FALSE); // make it Non-physical when you rez it
myPos = llGetPos(); // save the initial position and rotation so we can set it back upright when reset
myRot = llGetRot();
}
// when something collides, this collision start will trigger
collision_start(integer num)