Jump to content
You are about to reply to a thread that has been inactive for 103 days.

Please take a moment to consider if this thread is worth bumping.

Recommended Posts

Posted (edited)

I want to learn how to link unscripted objects such as wreaths, bells, calendars etc. to a scripted door that swings so that the unscripted object swings with the door. I tried it with a door where the script was in the root prim and it worked beautifully. But when I try it with a door where the script is not in the root prim, it doesn't work no matter how I try to link the objects.

Edited by Splunged
additional details
Posted
2 hours ago, Splunged said:

I tried it with a door where the script was in the root prim and it worked beautifully. But when I try it with a door where the script is not in the root prim, it doesn't work no matter how I try to link the objects.

I'm afraid that's how Second Life works, rotation is always around the center of the root prim so the only solution is to make the door the root of the linkset and not link it to the house. A better solution would have been to have hierarchical linksets but that's not supported by SL. Philip Linden once said this was the biggest mistake they made when they created SL but it's probably too late to fix it now.

  • Like 1
Posted

If you are a skilled enough scripter, you can write the rotation script to identify the local position of each link relative to the root and then apply those as offsets as you rotate each link independently.    

  • Like 1
You are about to reply to a thread that has been inactive for 103 days.

Please take a moment to consider if this thread is worth bumping.

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
×
×
  • Create New...