Ordinal Malaprop
really very ordinary
Join date: 9 Sep 2005
Posts: 4,607
|
12-10-2005 04:41
Simple question: I have a reel-to-reel recorder that I'm building (using wire, as it happens, rather than tape, but anyway) and I'd like it to have the reels rotate when it's on, and stop rotating when it's off.
I have a script in each reel that uses llListen and llTargetOmega so that the reels rotate and stop when told to by the main recorder script. Fine, that works. But only when they're not linked. When they're linked, they don't rotate.
Is there any way of getting them to rotate individually while still linked?
|
Cid Jacobs
Theoretical Meteorologist
Join date: 18 Jul 2004
Posts: 4,304
|
12-10-2005 04:52
llSetRot will actually rotate the prims individually, although it may appear a bit sluggish due to the small script delay. Another method which would probably work better for your project woudl be either llSetTextureAnim to animate a texture across the prim or llRotateTexture to move the texture to a preset radian (this method also has a small script delay). Hope that helps. ~Cid
|
Ordinal Malaprop
really very ordinary
Join date: 9 Sep 2005
Posts: 4,607
|
12-10-2005 05:07
Cheers - llSetTextureAnim seems to work fine. (They're only very small reels so I doubt anyone will notice that they're not actually rotating.)
|