Jump to content
  • 0

Can't get primitive params for mesh??


Skullmiser Blackheart
 Share

You are about to reply to a thread that has been inactive for 943 days.

Please take a moment to consider if this thread is worth bumping.

Question

I have a friend who was wanting a script to detect when she was in water, and then change the glossiness of things depending on how long she's been out of water.

I don't know how to change the glossiness of things without setting all of the PRIM_SPECULAR settings, so what I did was use llGetPrimitiveParams, for each face, and just plug them back into the llSetPrimitiveParams, command, which seemed to work fine. She was happy with that... until she tried to use it in a mesh object.   I can't seem to get the Specular information from any mesh objects' faces. It just gives null keys and zeroes.

Is there a better way to be doing this?  Is this a bug?  Are we supposed to link it to a regular prim, or something, and use LinkPrim stuff, or would that be the same?

 

Sorry for my ignorance.  Thank you for your help.

Link to comment
Share on other sites

0 answers to this question

Recommended Posts

There have been no answers to this question yet

You are about to reply to a thread that has been inactive for 943 days.

Please take a moment to consider if this thread is worth bumping.

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
 Share

×
×
  • Create New...