Search the Community
Showing results for tags 'llmovetotarget'.
I encountered the problem that once my avatar was launched to go to a location by llMoveToTarget() from a hud script she could be stopped by llStopMoveToTarget(). The script did not respond to any inputs as long as target has not been reached. The workaround I finally found in order to manage manually an early stop is (1) to launch llMoveToTarget() in a separate script, and (2) to stop the motion at any time with llResetOtherScript(<script name where the llMoveToTarget is in>). Hope this is of some help
Hello, Sorry to trouble/disturb anyone but I've encountered an issue and Googling hasn't helped much. Would like to ask if anyone knows the reason for this 'error' or perhaps could point me in the right direction which I could look for answers. Would really really appreciate it. ? I made a mesh object that simulates animation using llSetTextureAnim, (4 frames, 2 by 2) and cycles through the four frames of mesh, giving the illusion that the object 'Jumps'. The object animates without any issue when stationary. However when I script it to wander about, there are instances (random) wher
so i have this swimming script, and it's using llMoveToTarget to make you swim around in the water. i want to be able to artificially adjust the height of the avatar/animations in the water, so i have a menu thing with the +++ and the -- and stuff like that, to dial in the water surface height. so that changes the depth by, say, 1 meter. and i want it to move the avatar up 1 meter.... so i can see where it is. the weird thing is, if i get in the water, and i'm standing (hovering? falling? technically, i'm 'inair' i guess) there, and i press these menu buttons... i d
I am using llMoveToTarget to make my avatar move from point to point. Unfortunately, when my avatar moves to the location he does not turn to face the location - he continues to face the same direction regardless of where he moves to. The script that triggers the movement is on the avatar's HUD. I have tried several functions (llLookAt and rotation functions) but they all rotate the button and not the avatar. Is there a function that I have overlooked?