• All submissions to this site are governed by Second Life Project Contribution Agreement. By submitting patches and other information using this site, you acknowledge that you have read, understood, and agreed to those terms.
Issue Details (XML | Word | Printable)

Key: SVC-2697
Type: Bug Bug
Status: Open Open
Priority: Major Major
Assignee: WorkingOnIt Linden
Reporter: Yukinoroh Kamachi
Votes: 6
Watchers: 4
Operations

If you were logged in you would be able to see more operations.
2. Second Life Service - SVC

llApplyImpulse/llMoveToTarget don't work in attachements while hovering

Created: 26/Jul/08 06:53 AM   Updated: 12/Jul/09 06:33 PM
Return to search
Component/s: Physics, Scripts
Affects Version/s: 1.23.4 Server
Fix Version/s: None

Issue Links:
Duplicate
 
Relates
 

Last Triaged: 13/Oct/08 08:32 AM
Linden Lab Issue ID: DEV-22278


 Description  « Hide
Consider the following script in an attachment, when hovering :

default
{
state_entry(){ }

attach(key id)
{
if (id){ llSetTimerEvent(1.0); }
}

timer()
{
integer up = (integer) llFrand(2.0);
if (up){ llApplyImpulse(<0,0,0.5>, FALSE); } else { llApplyImpulse(<0,0,-0.5>, FALSE); }

vector speed = llGetVel();
llOwnerSay((string)speed.z);
}
}

The script should sometimes move you up, sometimes move you down, but instead the avatar doesn't move at all.
If you use greater values for the z component, it will work only after you've moved once.

This bug appeared after the fix for part of SVC-2013 went in, is to say in 1.22.2 .



 All   Comments   Change History      Sort Order: Ascending order - Click to sort in descending order
Ezian Ecksol added a comment - 26/Jul/08 09:07 AM - edited
llMoveToTarget doesn't work in attachements while hovering, too. Only very seldom, strangly unreliable.

This issue exists for long time, not only in the present server release.

I was so free to adjust this jira's title, because I think the two issues are caused by the same problem.


Mare Novi added a comment - 08/Aug/08 09:21 AM
I use llMoveToTarget() and llSetHoverHeight() in an AO I'm developing, and have the same problem in Havoc4. The av will seldom move without giving her a "kick" with a movement key (arrows or up/down). Cancelling hover before the move doesn't seem to have any effect.

I'm testing in Tymel, but it seems to occur in any sim I've tried.


Crystal Falcon added a comment - 31/Aug/08 10:09 PM
So I discovered this today too, stop flying and llMoveToTarget works, start flying and it doesn't. I took of my flight assist to no affect. I checked the forums to find this thread and bafflement there too with others running into this problem: http://forums.secondlife.com/showthread.php?p=2130831

Ezian Ecksol added a comment - 10/Oct/08 06:39 PM - edited
Lindens, pushing old thread, why llMoveToTarget doesn't work reliable in an attachement while hovering? That's inconsistent. Please explain. Thank you.

Yukinoroh Kamachi added a comment - 14/Oct/08 09:24 AM
I think that if a complete fix was applied to SVC-2013 while considering this bug, the code could be also used to solve half of SVC-1792. Three hits with one stone.

Jack Abraham added a comment - 12/Jul/09 06:33 PM
This reproduces on server 1.27.0.126647. However, I notice that if you even momentarilly bump out of hover (slight rotation will do it) the llMoveToTarget() is able to take hold and start you moving; it then continues until you again hover. Also, if you enter flight using the Fly button or keypad equivalent, do not touch the movement keys, and attempt to llMoveToTarget, you're fine; when you stop, though, you cannot restart without the work-around listed.