Difference between revisions of "Phantom Child/ja"
Jump to navigation
Jump to search
Kireji Haiku (talk | contribs) m (wrong type) |
Kireji Haiku (talk | contribs) m (changed comment) |
||
Line 7: | Line 7: | ||
<lsl>default { | <lsl>default { | ||
state_entry() { | state_entry() { | ||
llSetPrimitiveParams([ // llSetLinkPrimitiveParamsFast(LINK_THIS, [ | llSetPrimitiveParams([ // llSetLinkPrimitiveParamsFast(LINK_THIS, [ はもっと早くてもっと高いバイトコード | ||
PRIM_FLEXIBLE, TRUE, 0, 0.0, 0.0, 0.0, 0.0, ZERO_VECTOR]); | PRIM_FLEXIBLE, TRUE, 0, 0.0, 0.0, 0.0, 0.0, ZERO_VECTOR]); | ||
} | } |
Latest revision as of 09:02, 1 January 2014
LSL Portal | Functions | Events | Types | Operators | Constants | Flow Control | Script Library | Categorized Library | Tutorials |
重要 下のスクリプトはもう必要ありません。このページは記録のために残しています。代わりに、ファントム効果をつけたい子プリム全部の PRIM_PHYSICS_SHAPE_TYPE を PRIM_PHYSICS_SHAPE_NONE に設定してください。 |
Phantom Child (子プリムのファントム化)抜粋
<lsl>default {
state_entry() { llSetPrimitiveParams([ // llSetLinkPrimitiveParamsFast(LINK_THIS, [ はもっと早くてもっと高いバイトコード PRIM_FLEXIBLE, TRUE, 0, 0.0, 0.0, 0.0, 0.0, ZERO_VECTOR]); } on_rez(integer s) { llResetScript(); } changed (integer change){ if (CHANGED_REGION_START & change) llResetScript(); } collision_start(integer n){ llResetScript(); }
}</lsl>