Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- integer phantomChild;
- default
- {
- state_entry()
- {
- }
- touch_start(integer total_number)
- {
- phantomChild=!phantomChild;
- if(phantomChild){
- llSetLinkPrimitiveParamsFast(2,[PRIM_PHYSICS_SHAPE_TYPE, PRIM_PHYSICS_SHAPE_NONE]);
- }
- else{
- llSetLinkPrimitiveParamsFast(2,[PRIM_PHYSICS_SHAPE_TYPE, PRIM_PHYSICS_SHAPE_CONVEX]);
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment