• 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
Darek Deluca made changes - 26/Feb/08 04:08 PM
Field Original Value New Value
Description llGetMass() not working in script until script is recompiled.

Create physical object.
Create Script in physical object.
Insert:
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

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



llGetMass() not working in script until script is recompiled.

Create physical object.
Create Script in physical object.
Insert:
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.



Darek Deluca made changes - 26/Feb/08 04:22 PM
Component/s Physics [ 10038 ]
Component/s Scripts [ 10043 ]
Darek Deluca made changes - 27/Feb/08 11:59 AM
Description llGetMass() not working in script until script is recompiled.

Create physical object.
Create Script in physical object.
Insert:
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.



llGetMass() not working in script until script is recompiled.

Create physical object.
Create Script in physical object.
Insert:
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.



Darek Deluca made changes - 27/Feb/08 12:13 PM
Description llGetMass() not working in script until script is recompiled.

Create physical object.
Create Script in physical object.
Insert:
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.



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

Create physical object.
Create Script in physical object.
Insert:
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.



Darek Deluca made changes - 27/Feb/08 12:18 PM
Summary llGetMass() not working until script recompiled after object rez. llGetMass() not working in script in child prim after rez until script is recompiled.
lindenrobot made changes - 28/Feb/08 10:52 AM
Linden Lab Issue ID DEV-11156
Darek Deluca made changes - 04/Mar/08 08:21 PM
Description llGetMass() not working in script in child prim after rez until script is recompiled.

Create physical object.
Create Script in physical object.
Insert:
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.



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.



Sidewinder Linden added a comment - 31/Mar/08 09:37 PM
1.20.0.83683

Sidewinder Linden made changes - 31/Mar/08 09:37 PM
Status Open [ 1 ] Resolved [ 5 ]
Resolution Fixed [ 1 ]
Sidewinder Linden made changes - 31/Mar/08 09:37 PM
Status Resolved [ 5 ] Closed [ 6 ]
Sue Linden made changes - 13/Nov/08 12:12 PM
Workflow jira-2007-12-22a [ 52694 ] jira-2008-11-14 [ 83117 ]
Sue Linden made changes - 13/Nov/08 04:55 PM
Workflow jira-2008-11-14 [ 83117 ] jira-2008-11-14a [ 95277 ]