Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

Can you rotate part of a linked object?

Amelith Russell
Registered User
Join date: 8 Sep 2005
Posts: 4
09-12-2005 09:05
Sorry if this is a silly question but I'm new here and a bit stumped.

I've made two objects, one is a base, another is a cube that floats above it and rotates to display the digits of the time on different faces.

I'd like to link these together to make a single object but when I try it I either get nothing rotating or the whole lot rotates. I'd assumed that the script I have to do the rotation would only be applied to the object it belonged to.

Have I missed something obvious? Can this be done?

Thanks,

Ame
Zapoteth Zaius
Is back
Join date: 14 Feb 2004
Posts: 5,634
09-12-2005 09:24
From: Amelith Russell
Sorry if this is a silly question but I'm new here and a bit stumped.

I've made two objects, one is a base, another is a cube that floats above it and rotates to display the digits of the time on different faces.

I'd like to link these together to make a single object but when I try it I either get nothing rotating or the whole lot rotates. I'd assumed that the script I have to do the rotation would only be applied to the object it belonged to.

Have I missed something obvious? Can this be done?

Thanks,

Ame


The script you have does only do the rotation to the object it belongs to, but when you link the 2 prims together they become one object.

I believe this thread had the answers you need :D
_____________________
I have the right to remain silent. Anything I say will be misquoted and used against me.
---------------
Zapoteth Designs, Temotu (100,50)
---------------
Amelith Russell
Registered User
Join date: 8 Sep 2005
Posts: 4
09-13-2005 03:36
From: Zapoteth Zaius
The script you have does only do the rotation to the object it belongs to, but when you link the 2 prims together they become one object.

I believe this thread had the answers you need :D


Thanks, that does indeed cause only one object to spin. My next problem is how to control it so that I can stop the rotation when the right face comes up and set up the next rotation.

I tried using at_rot_target events but I couldn't get it to work. Maybe I'm confused about the different coordinates of parent and child or maybe just doing something wrong. I'm also worried about the possibility of cumulative errors with rotation targets that could build up over time.

Ame