Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

Linking a rotating object to a stationary object

Fixit Galatea
Junior Member
Join date: 25 Nov 2003
Posts: 1
11-27-2003 17:37
I want to be able to create a single object that has two pieces - a stationary platform and a rotating ball above the platform. The platform and ball do not touch. WHen they are not linked, the ball rotates fine. When I link the ball to the platform, the ball doesn't rotate anymore or the platform attempts to rotate.

Is there a way to make these a single object with 2 prims and NOT have the ball effect the platform?

Fixit
Christopher Omega
Oxymoron
Join date: 28 Mar 2003
Posts: 1,828
11-27-2003 17:56
Hmm... You could attempt to rotate the ball using child llSetPos(). However, this would be repeated stress on the server.

Is there any alternative?
What exactly is this for?


==Chris
Mezzanine Peregrine
Senior Member
Join date: 14 Nov 2003
Posts: 113
11-27-2003 20:21
the llSetTargetOmega does work quite well on child objects.
Jake Cellardoor
CHM builder
Join date: 27 Mar 2003
Posts: 528
11-28-2003 01:05
I can't remember the thread in which it was first posted, but there is a way to make one element of a linked set spin using llTargetOmega while another remains stationary.

Create your ball and platform, and make sure neither has a script in them. Link the two together, with the platform as the parent object. (That is, click on the ball first, then shift-click on the platform, then hit Ctrl-L.)

Then choose the "Select Individual" button on the Edit panel, and select the ball.

Go to the Contents pane and add the rotation script to the ball.

When you leave edit mode, the ball will rotate while the platform remains stationary, yet they remain linked; you can moved the two as a set.

(I have no idea if this behavior is by design or a bug.)
Upshaw Underhill
Techno-Hobbit
Join date: 13 Mar 2003
Posts: 293
11-28-2003 04:52
ok, so can (or has) some wizard come up with a way to do this on a multiple prim subset? i.e. a propeller? yes I could do it with a rotating texture now that they dont look like wobbly jello anymore :D but wouldn't real props be fun?
(well virtual real... erm... whatever) :rolleyes:
Dusty Rhodes
sick up and fed
Join date: 3 Aug 2003
Posts: 147
11-28-2003 20:50
Fixit, does the sphere have to truly rotate? You can have the texture rotate with no problems.