|
Albert Wake
Registered User
Join date: 5 Jan 2006
Posts: 25
|
04-09-2006 12:46
Hrm well I've read through the wiki and searched for forum and I can't find anything of use. What I am looking for is something which will push Obj/Av from point A towards point B, not the whole way but a certain amount with both key's and positions being known. I know llPushObject() will work but I can't seem to work out how to get the correct Vector impulse.
So it would perferable look something similar to llPushToPos(key id, float power, vector TargetPos).
Thanks in advance.
|
|
Charles Granville
Registered User
Join date: 18 Mar 2006
Posts: 33
|
04-09-2006 13:16
From: Albert Wake Hrm well I've read through the wiki and searched for forum and I can't find anything of use. What I am looking for is something which will push Obj/Av from point A towards point B, not the whole way but a certain amount with both key's and positions being known. I know llPushObject() will work but I can't seem to work out how to get the correct Vector impulse.
So it would perferable look something similar to llPushToPos(key id, float power, vector TargetPos).
Thanks in advance. I think that if you subtract the vector position of point B from point A, you might get a suitable impulse vector.
|
|
Albert Wake
Registered User
Join date: 5 Jan 2006
Posts: 25
|
04-09-2006 15:32
that worked great thanks
|