Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

is there a lower limit on force vectors on avatars?

Nada Epoch
The Librarian
Join date: 4 Nov 2002
Posts: 1,423
12-07-2002 17:06
I was playing around with the jetpack script a couple weeks ago, trying to make a way to slow down the avatar, i.e. multipling the force vector by a decimal, to gain more precision when walking. But if i multiply the vector by a float, none of the speeds work, regardless of what the number they are multiplying by. So i am wondering if this is a bug, or am i not understanding something? Tomorrow or tonight, i am going to multiply the vector by (1/4) instead of .25, to see if that works any different.
_____________________
i've got nothing. ;)
Nada Epoch
The Librarian
Join date: 4 Nov 2002
Posts: 1,423
along the same lines
12-07-2002 19:07
i was helping a friend with the burning script which has an offset associated with it. We tried to make the offset vector -.5 in the z by

CODE

vector offset = <0,0,-.5>;


but it said invalid type... now i know that vectors don't have to have integer calues in them, so what is happening here?
_____________________
i've got nothing. ;)
BuhBuhCuh Fairchild
Professional BuhBuhCuh
Join date: 9 Oct 2002
Posts: 503
try this
12-08-2002 09:16
<0.0,0.0,-0.5>
_____________________

START!
Make your own movie in Second Life for
The Take 5 Machinima Festival
Films due Dec 4, screening Dec 7!
http://www.alt-zoom.com/take5.htm

Celerity Epoch
Genius in absentia
Join date: 13 Nov 2002
Posts: 179
-. is invalid
12-08-2002 10:07
if you throw a 0 between them it's all good.
that one drove me insane for a long time.

and it's not only vectors I don't think, I had the same problem with a straight float.
Nada Epoch
The Librarian
Join date: 4 Nov 2002
Posts: 1,423
cool
12-08-2002 14:46
heh it would have taken me a long time to figure that one out! course that only solves the one problem. hmm I bet you need 0.## to do any kind of operations, I will test that this evening
_____________________
i've got nothing. ;)
Celerity Epoch
Genius in absentia
Join date: 13 Nov 2002
Posts: 179
floats can be expressed as integers
12-08-2002 17:47
so while -.5 is invalid, -5 is a valid float, you don't need -5.0