|
AckAck Ackland
Registered User
Join date: 25 Jan 2007
Posts: 47
|
12-26-2008 12:37
Is there a way to get two multi-prim objects to rotate in sync with each other? I have two rotating doors with a simple rotation script in each, and I want them to continuously move and be in the same mirror position as the other as they rotate.
|
|
Hewee Zetkin
Registered User
Join date: 20 Jul 2006
Posts: 2,702
|
12-26-2008 13:00
You could use something like chat (or a common calculation of some sort) to synchronize when the objects both use llRotLookAt(), but if you're interested in smooth, continuous rotation that is precisely synchronized, you're probably out of luck.
|
|
Void Singer
Int vSelf = Sing(void);
Join date: 24 Sep 2005
Posts: 6,973
|
12-26-2008 18:46
the chat idea is good, I like using a timing message that both objects recieve and act upon to make their moves... in some cases you can do this with link messages. synching based on a clock at regular intervals might work as well, or you may even get away with just a synched start.
_____________________
| | . "Cat-Like Typing Detected" | . This post may contain errors in logic, spelling, and | . grammar known to the SL populace to cause confusion | | - Please Use PHP tags when posting scripts/code, Thanks. | - Can't See PHP or URL Tags Correctly? Check Out This Link... | - 
|