Jump to content

Poseball coordinates confused!


kari1sl
 Share

You are about to reply to a thread that has been inactive for 3660 days.

Please take a moment to consider if this thread is worth bumping.

Recommended Posts

Lately, when I change the pose, my avitar it flies off after a few poses - far far away.
I tried to adjust the pose but it comes up in huge regional numbers, the the relative cooridnates
<164.018,15.784,67.365> <0.1,-2.0,-90.0>
instead of
<0.018,-0.216,0.365> <0.1,-2.0,-90.0>,
so, of course, when it reads that number it fly 164 meters x-way, 16 meters y-way and 67 meters z-way from the pose ball.

Why is it doing this? How can I fix it.

BTW - the coordinates changes are really simple - just switching around the four compass points.
<0.018,-0.216,0.525> <-2.9,-2.0,-90.0>
<-0.022,0.230,0.525> <2.9,2.0,90.0>
<-0.348,-0.032,0.525> <-2.0,2.9,-180.0>
<0.444,0.024,0.525> <2.0,-2.9,0.0>

Any advice?

Link to comment
Share on other sites

Well, you have identified the problem correctly.  You're loading regional coordinates into the llSitTarget function instead of local coordinates.  All you have to do it look at your script to figure out where the regional coordinates are coming from (or, more directly, simplify your code so that llSitTarget loads directly from the list where you have those local coordinates stored).

Link to comment
Share on other sites

You are about to reply to a thread that has been inactive for 3660 days.

Please take a moment to consider if this thread is worth bumping.

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
 Share

×
×
  • Create New...