|
Paulo Dielli
Symfurny Furniture
Join date: 19 Jan 2007
Posts: 780
|
03-04-2009 20:19
For poses on my furniture I'm using a Multi-Sit script for a while now. That has always worked fine. I use Lex Neva's Easy Sit Target System (same as PrimSitter) to get the right numbers and copy them onto a notecard from the Multi-Sit script.
But now I have a problem. I followed the same procedure as many times before, but now the sit poses are rotated 90 degrees clockwise (and I think they are also off on other angles). I don't know why this happens. Could it be that I used sculpties for the chairs that I'm making instead of regular prims? It's the first time that I've used both scripts in a sculpty chair.
For example, one of my sit targets is this:
<-0.32865, 1.26067, -0.03226>, <-0.01633, -0.00204, -0.81408, -0.58051>
I think the first three numbers are the xyz co-ordinates. Is there any way to easily change the other four numbers for prim rotation?
[edit:]I've checked. It has nothing to do with sculpties. It occurs also with regular prims.
|
|
Dora Gustafson
Registered User
Join date: 13 Mar 2007
Posts: 779
|
03-05-2009 02:11
multiply by < 0.0, 0.0, 0.70710678, 0.70710678 > to add a positive 90deg rot around Z by < 0.0, 0.0, -0.70710678, 0.70710678 > to add a negative.
_____________________
From Studio Dora
|
|
Paulo Dielli
Symfurny Furniture
Join date: 19 Jan 2007
Posts: 780
|
03-05-2009 03:29
Problem is solved. The Multi-Sit script creator contacted me and pointed out the mistake I made. In the script's notecard I wrote:
<-0.32865, 1.26067, -0.03226>, <-0.01633, -0.00204, -0.81408, -0.58051>
This should have been, for this particular script:
<-0.32865, 1.26067, -0.03226> = <-0.01633, -0.00204, -0.81408, -0.58051>
But still, sometimes I want to make small adjustments to the sit target numbers without having to do the sit target process all over. Dora, thanks for your reply!
|
|
Jesse Barnett
500,000 scoville units
Join date: 21 May 2006
Posts: 4,160
|
03-05-2009 04:19
For any future problems, the easy way to do it is to just use this instead: rotValue * llEuler2Rot(<0, 0, 90 * DEG_TO_RAD> 
_____________________
I (who is a she not a he) reserve the right to exercise selective comprehension of the OP's question at anytime. From: someone I am still around, just no longer here. See you across the aisle. Hope LL burns in hell for archiving this forum
|