views:

19

answers:

0

I'm new to scripting, and am trying to make a small kiddie pool. I have a hollow cylinder as the outside of the pool, and made a smaller cylinder inside of it with a script I wrote that moves the water texture AND makes the inside cylinder phantom. The following is what I wrote in the state entry to make it phantom:

    llSetLinkPrimitiveParams(LINK_ALL_OTHERS, [PRIM_PHANTOM,FALSE]);        
    llSetLinkPrimitiveParams(LINK_THIS, [PRIM_PHANTOM,TRUE]);

So I'm trying to make the inside water cylinder phantom, and the outside one not phantom. However the above script, when written like so, makes the entire link set phantom. And when I switch the two, it make's the entire set not phantom(so when I'm on the water, I stand on it, instead of sinking through to the bottom like I want). How do I make it so one of the linked objects is phantom and the other isn't?