|
Conrad Sabre
Registered User
Join date: 11 Nov 2006
Posts: 3
|
05-20-2007 10:36
I don't know if it's me just being dim, but I can't get llSetPos to work with decimal positions, e.g. <147.25, 14.25, 127.0>. It always seems to round it to the nearest whole number for the coordinates, which is really irritating as I need the fine coordinates like you can have with the built-in prim editor. I am by no means an experienced scripter (did you guess?  ), and I apologise if this is covered elsewhere, but if anyone could help I'd really appreciate it.
|
|
Newgate Ludd
Out of Chesse Error
Join date: 8 Apr 2005
Posts: 2,103
|
05-20-2007 13:05
Are you using floating point variables to hold your values?
_____________________
I'm back......
|
|
Conrad Sabre
Registered User
Join date: 11 Nov 2006
Posts: 3
|
05-20-2007 15:16
It's a vector, three floats. I tried using both a literal constant (the actual values <147.25, 14.25, 127.0>  and a vector variable set to the same floating point values - neither worked properly.
|
|
Ralph Doctorow
Registered User
Join date: 16 Oct 2005
Posts: 560
|
05-20-2007 20:20
What exactly happened? Are you trying to set a position more than 10m away?
|
|
Conrad Sabre
Registered User
Join date: 11 Nov 2006
Posts: 3
|
05-21-2007 02:08
Erm, yes..... I didn't think about that actually 8|... problem solved! 
|