Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

edit the rotation point

Richard stern
Registered User
Join date: 13 Oct 2004
Posts: 2
10-31-2004 03:27
how to edit the rotation point of a group of prims or only one prim ?


thank you, richard
Upshaw Underhill
Techno-Hobbit
Join date: 13 Mar 2003
Posts: 293
10-31-2004 06:53
In short there isn't. Your only option is local Axis' or not.
There is an LSL call to find where it is: llGetGeometricCenter
but according to the wiki it's not calculating correctly.

To change it while editing you'd have to add a prim or prims to the other end of whatever you're editing to 'balance' the object. (and just use a clear texture to hide it.) I'm fairly certain that would help with attachment rotation points too but I'm not in-world to try it right now.

L8r,
UU

p.s. what *I'd* really like it to do is rotate a selected group by the numbers without having to link/unlink every time... at least we have lock points every 30deg when drag-spinning now.
Jauani Wu
pancake rabbit
Join date: 7 Apr 2003
Posts: 3,835
10-31-2004 10:41
i put a prim in the location i want to move the rotation point to. I then make that prim the root prim of a linked array. once linked, you can enter the rotation manually which will now occur around the desired location.
_____________________
http://wu-had.blogspot.com/
read my blog

Mecha
Jauani Wu
hero of justice
__________________________________________________
"Oh Jauani, you're terrible." - khamon fate


DoteDote Edison
Thinks Too Much
Join date: 6 Jun 2004
Posts: 790
11-01-2004 17:19
Yes, as stated above, use an additional 'axis' prim. You can make something like a centrifuge if you like (a long are arm with it's rotation axis at one end.) I usually add a small cylinder, which helps to visualize that it's the axis. I color it bright red so I can find it inside of larger objects. Make the axis the root prim, and put the rotation script into it.