Talk:Physics Optimization

From Second Life Wiki
Revision as of 10:35, 6 June 2012 by Innula Zenovka (talk | contribs) (Created page with "===Spammy Example? === In the example <lsl> default { state_entry() { llShout(0, "Setting all child prims to PRIM_PHYSICS_SHAPE_NONE"); llSetLinkPrimitive…")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Spammy Example?

In the example <lsl> default {

   state_entry()
   {
       llShout(0, "Setting all child prims to PRIM_PHYSICS_SHAPE_NONE");
       llSetLinkPrimitiveParamsFast(LINK_ALL_CHILDREN, [PRIM_PHYSICS_SHAPE_TYPE, PRIM_PHYSICS_SHAPE_NONE]);
       llRemoveInventory(llGetScriptName());
   }

} </lsl> why use llShout and not llOwnerSay? I can't see why every avatar in 100 metres needs to know the child prims are being set to PRIM_PHYSICS_SHAPE_NONE. Innula Zenovka 11:35, 6 June 2012 (PDT)