Second Life tutorial: Creating a door that opens and closes

Loading...

Alert icon
Upgrade to the latest Flash Player for improved playback performance. Upgrade now or more info.
32,370
Loading...
Alert icon
Sign in or sign up now!
Alert icon
Loading...

Uploaded by on Feb 5, 2007

Second Life tutorial: Creating a door that opens and closes when you touch it. Full script written.
** Download better quality video + source code at www.slbuilding.com ***

Category:

Film & Animation

Tags:

License:

Standard YouTube License

  • likes, 5 dislikes

Link to this comment:

Share to:

Uploader Comments ( IanMonstre )

  • Take a look at the resources section on dub dub dub dot slbuilding dot com

    Obviously replacing "dub" with "w" and "dot" with "." in the URL. Youtube doesn't seem to let you post URLs in the comments of videos

  • Not really if you're using this method, which is a bit of a simple way of performing an offset rotation but it easier to understand than the alternative.

    The alternative - if you're interested - involves multiplying the offset from centre of the door by the rotation amount then adding the centre position to the result, and passing this value as a parameter to the llSetPos command.

    There's an example on the second life forums, try searching for "offset rotations"

  • Download a better quality version of this video plus source code from slbuilding dotcom

see all

All Comments (42)

Sign In or Sign Up now to post a comment!
  • Ok, took much eye straining and experimentation but i think the correct code up until 4:00 is touch_start(integer total_number) { rotation rot = llGetLocalRot(); string z = (string)rot.z; string s = (string)rot.s; llSay(0, "z = " + z + ", s = "+ s);

  • Think the video uploader is long gone folks, shit

  • The website on that url is either bullshit or down theres no link to download that video.

  • Can you please post the script that is required to get the door to work, I really am struggling to read it from the video. Thanks x

  • Thank you! Was struggling to understand why a door was pivoting around its center Z axis and now I understand why. It's years after you did this video, but it's still paying dividends for others. Cheers! :-)

  • There is a mistake in the script shown. it should be llGetLocalRot() not llSetLocalRot(). Changing this made it work for me.

  • I've trying it but when i do it for postion it goes away

  • ctrl key and mousewheel or + key on keyboard to make video larger to view script

  • Loading comment...
Loading...

Alert icon
0 / 00Unsaved Playlist Return to active list
    1. Your queue is empty. Add videos to your queue using this button:
      or sign in to load a different list.
    Loading...Loading...Saving...
    • Clear all videos from this list
    • Learn more
    to add this to a playlist