"Fixed rotate" script?

Creating scripts
User avatar
Ilan Tochner
Posts: 6524
Joined: Sun Dec 23, 2012 8:44 am
Has thanked: 4986 times
Been thanked: 4473 times
Contact:

Re: "Fixed rotate" script?

Post by Ilan Tochner »

That's a good question that you can easily test. Create an object in front of you and have it spin slowly. See if at any point the server allows you to pass through that path when you see the object as no longer blocking your way but the server (if the documentation is correct) registers that object as continuing to prevent you from moving forward.
User avatar
Handy Low
Posts: 231
Joined: Fri Nov 08, 2013 3:38 pm
Location: Yorkshire, England
Has thanked: 207 times
Been thanked: 140 times
Contact:

Re: "Fixed rotate" script?

Post by Handy Low »

Yes, I'll have a look at this soon and report back.
Handy Low
User avatar
Ilan Tochner
Posts: 6524
Joined: Sun Dec 23, 2012 8:44 am
Has thanked: 4986 times
Been thanked: 4473 times
Contact:

Re: "Fixed rotate" script?

Post by Ilan Tochner »

Great, I look forward to your report.
User avatar
Handy Low
Posts: 231
Joined: Fri Nov 08, 2013 3:38 pm
Location: Yorkshire, England
Has thanked: 207 times
Been thanked: 140 times
Contact:

Re: "Fixed rotate" script?

Post by Handy Low »

OK, I've made a simple test object and placed it on the path outside my shop (near the lake) here: https://www.kitely.com/virtual-world/Ha ... ndys-Tools. It's free to copy and modify.

It's a two-prim object, with the root (red) base prim stationary and the child (green) tall prim rotating; the red prim marks the actual, server-side rotation of the green prim. Walking through, you collide with the green prim only in its actual (zero) rotation, marked by the red base, not as it rotates client-side. You can touch it to stop and start the rotation, and when the rotation stops it explicitly sets it back to zero.

You can unlink the prims so that it's the whole object that rotates rather than a child prim; this has the same effect.
These users thanked the author Handy Low for the post:
Ozwell Wayfarer
Handy Low
User avatar
Ilan Tochner
Posts: 6524
Joined: Sun Dec 23, 2012 8:44 am
Has thanked: 4986 times
Been thanked: 4473 times
Contact:

Re: "Fixed rotate" script?

Post by Ilan Tochner »

Thank you for the update Handy.
User avatar
Handy Low
Posts: 231
Joined: Fri Nov 08, 2013 3:38 pm
Location: Yorkshire, England
Has thanked: 207 times
Been thanked: 140 times
Contact:

Re: "Fixed rotate" script?

Post by Handy Low »

You're welcome. I had to make sure my understanding was correct, especially since one of my products (the swing system) revolves around llTargetOmega() (pun intended).
These users thanked the author Handy Low for the post:
Ozwell Wayfarer
Handy Low
Post Reply