• 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-3512
Type: Bug Bug
Status: Resolved Resolved
Resolution: Duplicate
Priority: Normal Normal
Assignee: Unassigned
Reporter: Tali Rosca
Votes: 0
Watchers: 1
Operations

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

Flight blocks scripted movement

Created: 10/Dec/08 01:40 PM   Updated: 10/Jan/09 07:06 AM
Return to search
Component/s: Physics, Scripts
Affects Version/s: 1.24 Server
Fix Version/s: None

Environment:
N/A, since it pertains to serverside movement, but:

SL 1.22RC2
CPU: Intel Core 2 Series Processor (2405 MHz)
Memory: 4095 MB
OS Version: Microsoft Windows Vista Service Pack 1 (Build 6001)
Graphics Card Vendor: NVIDIA Corporation
Graphics Card: GeForce 8800 GTX/PCI/SSE2
Issue Links:
Duplicate
 
Relates
 


 Description  « Hide
Scripted forces to move the avatar (llApplyImpulse and llSetTarget) fails when avatar is flying, but not when walking.

Repro:
1: Create an object with the follow script.

default
{
attach(key attached)
{
if (attached != NULL_KEY)

{ llSetForce(llGetMass() * <0.0, 0.0, 9.8>, FALSE); llMoveToTarget(llGetPos() + <10.0, 0.0, 0.0>, 2.0); }

}
}

2) Take the object into inventory and wear it (say, on HUD).

Observe: The avatar walks 10 meters (as expected).

3) Detach object.

4) Click "Fly" button to let the avatar hover in the air.

5) Attach object again.

Observe: The avatar does not move.

6) Click "Fly" button again to cancel flight mode.

Observe: The avatar now begins to move towards the target.

It is not 100% reproducible this way, but almost. The llSetForce line is not strictly necessary to see the behavior, but without it, it appears much more sporadic.
I have seen similar behaviour when using llApplyImpulse rather than llMoveToTarget, but the llMoveToTarget is a good case because it so obviously shows the avatar starting to move once flight is toggled off, indicating that everything is registered and working; the avatar is merely held in place while flight is engaged.
I suspect whatever stabilizes an avatar in flight under Havok4 is a bit too good about it, negating scripted forces as well.



 All   Comments   Change History      Sort Order: Ascending order - Click to sort in descending order
Yukinoroh Kamachi added a comment - 10/Jan/09 07:06 AM
Duplicate of SVC-2697, which happened after LL implemented a bad partial fix for SVC-2013 around July 3rd, 2008.