|
Cally Zabelin
Unregistered User
Join date: 26 Mar 2007
Posts: 48
|
12-07-2007 07:58
I'm building a tipjar wich will be made of 3 rings, each one spinning in their own direction around eachother. So I created one ring, put a rotation script in it, and it works...its spinning. I did the same to the two other rings, all works. Now I put these 3 rings together and link them to one object...is that the correctw way to do it? But then it doesnt work...they spin at the same direction all of them, even if i changed the settings withing the scripts. My smallest ring is made of several prims, it's a pentagram, and the outer ring of that one starts to spin at its own direction and the rest of the pentagram in another direction. I wish I had time to go to classes and read wiki's, but i dont :/ Would be happy if someone could get me some hints. Thanks in advance.
|
|
Damet Neumann
Registered User
Join date: 21 Apr 2006
Posts: 140
|
12-07-2007 08:56
when you link them together they all become one object and the script acts on the whole object.
might be able to use a rez of some sort to rez the rings unlinked around the object shoudlnt be too hard to do but a little complicated and of course wouldnt work in no build areas
|
|
Void Singer
Int vSelf = Sing(void);
Join date: 24 Sep 2005
Posts: 6,973
|
12-07-2007 16:58
since you said the rings have multiple parts each I'm going to assume you are using a physical spin (or perhaps a root located targetOmega)
I believe if you link the object as a whole, with a single script using targetOmega in the root (which should not be your outer rings) and a separate script in each of the /single prim/ outer rings that will work.... keep in mind that the outer rings will spin with the inner ring PLUS their own individual spins....
EDIT: this only works if it isn't linked to a stationary prim, otherwise your pentacle pieces might have some serious issues... you migh be able to fake it with a solid colored cylinder base.
_____________________
| | . "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... | - 
|
|
Cally Zabelin
Unregistered User
Join date: 26 Mar 2007
Posts: 48
|
12-07-2007 18:37
I think I understand...thanks I will try that at once. And I will come back and cry some more if I dont get it to work  Thanks again.
|
|
Cally Zabelin
Unregistered User
Join date: 26 Mar 2007
Posts: 48
|
12-08-2007 09:17
I got it to work, dont ask me how but it looks as I want it to now. Its one object made by two rings and one of the rings has several prims, details init, and both are spinning. So dar so good, but now I want to attach one object that will stand still. When I create an object now and attach it it will spin around with these other rings. I want this new object to stand still as an foot to the rings. I'm sorry but i have looked in several tutorials and its a jungle with an language that I can not understand. I'd be very thankful if someone could help me.
|