Jump to content

Question for Oskar about missing script functions for light projectors


phaedra Exonar
 Share

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

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

Recommended Posts

Oskar I was reading the JIRA that is requesting scripting functions for light projectors.   It was started on 16/NOV/2010 and is still awaiting review.  We all so had a long Waite for adding slice to the llSetPrimParams scripts.  My question and or suggestion is why are are new build tool features not automatically reviewed for related script functions at the time of their creation?

https://jira.secondlife.com/browse/SCR-163?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=336076#comment-336076

 

Link to comment
Share on other sites

I read your JIRA entry about the projector direction being negative Z while lookAt is positive Z
Until it gets fixed you can use the conversion from this small script:

// lookat for projector, script by Dora Gustafson, Studio Dora 2012default{    state_entry()    {        llSensorRepeat("", NULL_KEY, AGENT, 20.0, PI, 4.0);    }    sensor(integer num)    {        llLookAt( 2.0*llGetPos()-llDetectedPos(0), 3.0, 1.0);    }}

 It will point the projector at the detected position using llLookAt()

Link to comment
Share on other sites

You are about to reply to a thread that has been inactive for 4294 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...