Second Life tutorial: Creating a door that opens and closes
Uploader Comments (IanMonstre)
All Comments (38)
-
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
-
i cant read the script and the website is unaviable
-
can't you just put it in a comment, becase your website is down. it is close to unreadable, and it doesn't work such as i can see.
-
this is a great tutorial! for those who don't understand it, you need more patients and practice! you probably don't even know what you're doing in the first place
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
IanMonstre 4 years ago
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"
IanMonstre 4 years ago
Download a better quality version of this video plus source code from slbuilding dotcom
IanMonstre 5 years ago