|
Lazlo Wombat
Registered User
Join date: 8 Mar 2006
Posts: 4
|
03-08-2006 17:33
I am building a set of body armor and want to mount a cool rotating radar antenna to the shoulder. I create the antenna and apply the rotation script to the root prim in the group. when i line it up so it is in exactly the right place in relation to the rest of the build it looks fantastic! When i link it to the rest of the build one of two things happens. 1) entire build rotates 2) entire build stays still.
neither one works for me... so I was wondering if any experienced builders could give me the answer?
Thanks!
|
|
Michael Martinez
Don't poke me!
Join date: 28 Jul 2004
Posts: 515
|
03-08-2006 17:58
For things like that.. use llTargetOmega to rotate it..and don't make it primary.
If primary every thing in the link set will rotate..
If not primary just that object with the script in it will rotate.
_____________________
There are no significant bugs in our released software that any significant number of users want fixed. (Bill Gates)
|
|
Lazlo Wombat
Registered User
Join date: 8 Mar 2006
Posts: 4
|
03-08-2006 20:08
I am new to the game and have no idea what you mean by that. Could you do a newbie a solid..and explain what you mean in a more basic way? Whats an "omega" and how do you "do" a target? I have no idea.
thanks!
|
|
Aliasi Stonebender
Return of Catbread
Join date: 30 Jan 2005
Posts: 1,858
|
03-08-2006 21:27
From: Lazlo Wombat I am new to the game and have no idea what you mean by that. Could you do a newbie a solid..and explain what you mean in a more basic way? Whats an "omega" and how do you "do" a target? I have no idea.
thanks! Okay. Most rotation scripts are going to be using the LSL function "llTargetOmega". This comes from a graphics term; all it means is "to spin something in place". see more at http://www.secondlife.com/badgeo/ . When you use llTargetOmega, it will either spin the entire object (if the script is in the root prim of a linked set) or just that single prim (if you place it in a child prim). If this armor is something you intend to wear, it might be better to place it into two seperate attachments, if possible.
_____________________
Red Mary says, softly, “How a man grows aggressive when his enemy displays propriety. He thinks: I will use this good behavior to enforce my advantage over her. Is it any wonder people hold good behavior in such disregard?” Anything Surplus Home to the "Nuke the Crap Out of..." series of games and other stuff
|
|
Mechanique Thirty
Pretty Spider
Join date: 15 Mar 2005
Posts: 60
|
03-11-2006 13:26
The quick and dirty way is to attach the rotating point to another part of your body that happens to move in synch. If the 'shoulder' of your armor is part of a big chunk attached to the chest/spine of your av, rather than a piece on the shoulder, you can attach the turning radar dish to the spine/chest and align it by eye.
I have a fishbowl-for-a-head with a fish perpetually swimming in it; the fishbowl is on my head, and the fish is on my nose. Both are affected by the motion of my av the same way, so they stay aligned.
I tried playing games with how it was linked up, but I, too, got either no rotation or the whole thing rotating. It wouldn't really matter if the whole bowl turned right now, but eventually I plan to build a castle in there or a treasure chest or something.
If the shoulder of your armor is actually attached to the 'shoulder' attachment point, you'll have to keep trying to get the parenting of your objects right - good luck!
-m30
|
|
cyg Bligh
Registered User
Join date: 20 Feb 2006
Posts: 56
|
03-13-2006 06:30
I met this mech warrior who wore his armor. He told me that it used a script that he had to pay money for. So I would look in the script forum and see who is selling them.
|