|
Rebecca Naidoo
Registered User
Join date: 28 May 2008
Posts: 82
|
06-18-2008 10:05
Hello
I want to make something rotate from the front of a prim instead of the middle, how can i do this?
It's a linked physical object so im using llRotLookAt()
|
|
Lee Ponzu
What Would Steve Do?
Join date: 28 Jun 2006
Posts: 1,770
|
06-18-2008 13:26
This is a good question, and if you search these forums and the wiki you will find several answers.
For a more detailed answer, we need a more detailed question.
_____________________
So many monkeys, so little Shakespeare.
|
|
Dora Gustafson
Registered User
Join date: 13 Mar 2007
Posts: 779
|
06-18-2008 13:29
The point of rotation is always at some prim's center coordinates. You can work around by: 1. cutting away some of the prim so that it looks as if it rotate about some point on the side or at the corner, but it will still be the center of the prim it rotates about. 2. Add an invisible prim to your link set ( it must be the root ) to rotate about.
_____________________
From Studio Dora
|
|
Avion Raymaker
Palacio del Emperador!
Join date: 18 Jun 2007
Posts: 980
|
06-18-2008 13:40
From: Lee Ponzu This is a good question, and if you search these forums and the wiki you will find several answers.
For a more detailed answer, we need a more detailed question. I tried searching for this the other day in the forums, and the scripting wiki, and couldn't find the answer. Specifically, I was trying to make an object rotate about an axis other than the Z. I think that is what Rebecca is looking for also. In particular I'm trying to set up some asteroids and comets, and I want their rotations and orbits to be natural-looking. Is there a number inside the common freebie "spin" script where you can set the axis? (don't have access to it right now or else I'd post it).
|