• 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-1680
Type: Bug Bug
Status: Closed Closed
Resolution: Fixed
Priority: Critical Critical
Assignee: Unassigned
Reporter: Darek Deluca
Votes: 0
Watchers: 1
Operations

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

llGetMass() not working in script in child prim after rez until script is recompiled.

Created: 26/Feb/08 04:07 PM   Updated: 31/Mar/08 09:37 PM
Return to search
Component/s: Physics
Affects Version/s: Havok4 Beta
Fix Version/s: None

Environment: Havok4 Simulator

Linden Lab Issue ID: DEV-11156


 Description  « Hide
llGetMass() not working in script in child prim after rez until script is recompiled.

Create physical object with 2 prims
Create Script in physical object.
Insert in child prim
touch_start(integer total_number)

{ llOwnerSay((string)llGetMass()); }

Compile, then touch object.
Script will say mass of object. (e.g. [15:58] Object: 3.450869)
Take object into inventory.
Rez.
Touch object
Script says – [15:59] Object: 0.010000
Recompile Script. Script will return proper mass. (Rinse then repeat).

This is easily duplicated (in Havok4).
Take same object into Havok1 Sim ,
Script will give proper mass when object is rezzed.

THIS SEEMS TO ONLY WORK WHEN THE SCRIPT IS IN A CHILD PRIM. NOT THE ROOT OR SINGLE PRIM.



 All   Comments   Change History      Sort Order: Ascending order - Click to sort in descending order
Sidewinder Linden added a comment - 31/Mar/08 09:37 PM
1.20.0.83683