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 3299 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 3299 days.

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

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...