• 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.
MAINTENANCE ANNOUNCEMENT - JIRA will undergo maintenance starting 1:00am PDT through 3:00am on Saturday 2010.03.20. Please do not enter issues during this time as the system maybe restarted.
Issue Details (XML | Word | Printable)

Key: SVC-1819
Type: Bug Bug
Status: Resolved Resolved
Resolution: Fixed
Priority: Critical Critical
Assignee: kelly linden
Reporter: kelly linden
Votes: 0
Watchers: 0
Operations

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

llSetPos silently fails on link children with mega prims

Created: 11/Mar/08 01:34 PM   Updated: 13/May/08 09:21 AM
Component/s: Physics
Affects Version/s: Havok4 Beta
Fix Version/s: 1.21.0 Server

Time Tracking:
Not Specified

Issue Links:
Relates
 

Linden Lab Issue ID: DEV-11795
Linden Lab Internal Branch: havok4-4


 Description  « Hide
Gaius Goodliffe: Hi Kelly, Andrew said you may be working on an llSetPos problem related to Havok4. In any case, I have an example object which demonstrates a failure of llSetPos under Havok4 where it works fine under Havok1. Should be self explanatory once rezzed, but let me know if you have any questions or comments. Thanks.

Repro:

  • Get two mega prims and link them, with their centers close.
  • Verify they still link then their centers are 10m apart
  • Put the script below in the child prim
    integer open;

default
{
state_entry()

{ llSetPos(<0.0, 0.0, 0.0>); }

touch_start(integer total_number)
{
if ( open = !open )

{ llSetPos(<0.0, 0.0, 10.0>); llOwnerSay("open"); }

else

{ llSetPos(<0.0, 0.0, 0.0>); llOwnerSay("closed"); }

}
}

  • Touch the child prim.

Expected: The child prim moves because this is a valid link distance. (On agni/havok1 this works this way)
Seen on Havok4: The child prim doesn't move (and no error is given).



 All   Comments   Work Log   Change History      Sort Order: Ascending order - Click to sort in descending order
kelly linden added a comment - 11/Mar/08 01:53 PM
Fixed internally. Scripted child prim movement will now use the hacked behavior of treating mega prims as max-normal-size prims (10x10x10) for linking calculations. This way it will match the behavior of manual link operations.

kelly linden added a comment - 29/Apr/08 11:31 AM
This issue should be fixed in the current simulator version (1.21)