Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- //
- // Simple linked rotating door
- //
- // BlueWall Information Technologies, LLC (c) 2012
- // Licensed under the Apache License, Version 2.0
- // http://www.apache.org/licenses/LICENSE-2.0.html
- // Door rotates along the Z axis
- default
- {
- touch_start(integer _det)
- {
- rotation closed = llGetLocalRot();
- rotation open = closed + llEuler2Rot(<0,0,220*DEG_TO_RAD>);
- llSetLocalRot(open);
- llSleep(5);
- llSetLocalRot(closed);
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement