These forums are CLOSED. Please visit the new forums HERE
Non Physics Follower? |
|
Miroslaw Bukowski
Registered User
Join date: 12 Dec 2003
Posts: 46
|
12-05-2004 19:18
Today I have spend 2 hours making a high detail robot. Hehe but when I tryed to use the basic follower script..... it didn't work... cuz my robot is over 31 prims... I been asking around for a non physics follower script today... without any luck..... can somebody help me? I really want to get my bot off the ground.
_____________________
01001101011010010111001001101111011100110110110001100001011101110010000001000010011101010110101101101111011101110111001101101011011010010010000001101111011101110110111001011010001000000110101000110000001100000010000100100001
|
Azelda Garcia
Azelda Garcia
Join date: 3 Nov 2003
Posts: 819
|
12-05-2004 21:31
replace llMoveToTarget( vWhatEver, 0.2 ); with llSetPos( vWhatever );
Azelda _____________________
|
Chris Knox
Member
Join date: 22 Apr 2004
Posts: 40
|
12-06-2004 03:53
Well i have a few that use;
while (llDetectedPos(0) > 0.001) (llSetPos(llDetectedPos(0) + offset); I'm not in world right now but this is the basic way. this exactly probably doesn't work, but give me an IM in world and I'll send it to you. You definatly want to use the 'while'. |
Logan Bauer
Inept Adept
![]() Join date: 13 Jun 2004
Posts: 2,237
|
Here ya go
12-06-2004 09:33
Here Miraslaw, sorry I couldn't help w/ this last night when you IM'ed me. Give this a try, should be what you're looking for. Keep in mind that since it's non-physical it go through walls, ect... I just took the previous script I had posted, changed to llSetPos unstead of llMovetoTarget (found out lookat works with non-physical also), and removed the part where it turns on physics. Enjoy!
CODE
|
Pete Fats
Geek
![]() Join date: 18 Apr 2003
Posts: 648
|
12-06-2004 09:41
I thought llLookAt required physics? Huns posted some good non physical functions a while back that might help.
_____________________
![]() |
Strife Onizuka
Moonchild
![]() Join date: 3 Mar 2004
Posts: 5,887
|
12-06-2004 11:01
Replace llMoveToTarget & llSetPos with
llSetPrimitiveParams([PRIM_POSITION,<vector>]); you will notice it will work at higher altitudes... _____________________
Truth is a river that is always splitting up into arms that reunite. Islanded between the arms, the inhabitants argue for a lifetime as to which is the main river. - Cyril Connolly Without the political will to find common ground, the continual friction of tactic and counter tactic, only creates suspicion and hatred and vengeance, and perpetuates the cycle of violence. - James Nachtwey |