Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

Radians? Trying to mirror odd angled prims

KC Despres
Werebutterfly
Join date: 7 Apr 2007
Posts: 166
07-04-2007 11:22
This should be easy -but I'm at a loss. Say I have a chair leg with the x axis set at an odd angle like 277.80 degrees. The other axes are odd angles too. I try to determine by subtraction what the angle of its counterpart should be, but I'm always too exhausted from RL work to think clearly.

My first thought is it should 360-277.8=82.2, but this flips everything all upside down and catywhompered. Same thing with leaving the x axis alone trying it with other axes. Maybe I'm supposed to ADD 277.80 and then subtract 360. Using the rotation arrows and eyeballing it works better, but I am confused because the numbers I see in the box don't even seem close to what I thought they should be and I would prefer to know it's symmetrical.

I've read about radians (or something like that) in the Ivory Tower tutorial, but I don't see any way to activate them. Do you just use negative values or are they not available any more? Or should I just get the prim mirror tool thingy I've heard is available?

Or should I just go back to dancing and shopping? -- KC
Chosen Few
Alpha Channel Slave
Join date: 16 Jan 2004
Posts: 7,496
07-04-2007 11:29
I'll save you some math. Search this forum for Prim Mirror by Jeffrey Gomez. It works great.
_____________________
.

Land now available for rent in Indigo. Low rates. Quiet, low-lag mainland sim with good neighbors. IM me in-world if you're interested.
Lee Ponzu
What Would Steve Do?
Join date: 28 Jun 2006
Posts: 1,770
07-04-2007 19:03
Radians aren't your problem.

it isn't clear to me what your exact isse is, so let me just babble...

If an object has the X axis pointing in direction, and the Z axis pointing straight up, then to make it point to the left you add to the Z-rotation value. This is because you want it to rotate around Z.

If all three rotations are non-zero, it gets tricky. You need to take all three rotations into account.

I dropped you a little Rotation Helper that might help you figure it out.
KC Despres
Werebutterfly
Join date: 7 Apr 2007
Posts: 166
07-05-2007 19:42
Thanks for the rotation helper. I didn't get your name in world to thank you at the time. I'm looking forward to trying it, and Prim Mirror too.

Yes, all three axes are off zero and that has confused the issue - and me. I was also under mild griefer attack when trying to figure it out. I will try again armed with these tools -- and maybe a big hollow cube for privacy.

Thanks. -- KC
Dytska Vieria
+/- .00004™
Join date: 13 Dec 2006
Posts: 768
07-06-2007 10:20
For angled chair legs or anything like that, I make one leg, copy it, note its position, then link it to its base or seat, and the seat is the root prim, then, I rotate Z-axis the link set 90-degrees for 4 legs, 72-degrees for 5 legs..., rez copy of the leg, put it in same noted position and link it to the set, and so on...
_____________________
+/- 0.00004
Jake Trenchard
Registered User
Join date: 31 May 2007
Posts: 104
07-06-2007 10:41
Radians only matter if you are scripting. Scripts always work in radians, so you either need to do your calculation in degrees and convert to radians, or do your work in radians in the first place. Radians are simply a different scale for how big around a circle is (2 * PI instead of 360) so nothing really changes except the size of the units.

As long as you build with the UI only, you don't even need to think about them.