Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

rotate texture using point-at?

Octal Khan
Putting the Mod in Modern
Join date: 14 Feb 2004
Posts: 116
07-22-2006 01:53
hi all,

this may be a dumb question, but is it possible to script a texture rotation to continually point-at the nearest AV within a given radius?

thanks!
Angela Salome
Registered User
Join date: 6 Oct 2005
Posts: 224
07-22-2006 02:05
From: Octal Khan
this may be a dumb question, but is it possible to script a texture rotation to continually point-at the nearest AV within a given radius?


Yes.

Consider what happens if the avatar is flying or is underground?
Octal Khan
Putting the Mod in Modern
Join date: 14 Feb 2004
Posts: 116
07-22-2006 11:23
From: Angela Salome
Yes.

Consider what happens if the avatar is flying or is underground?


Which orientation command? Is it something I should use with llSetTextureAnim or llRotate Texture?

Basically Im trying to have a texture on a convex mirror fake a reflection by rotating to always orient to the viewer, so its fairly intimate and Im not too worried about flying or underground issues. But I cant figure out what the orientation or point-at syntax is...?

thanks in advance :)
Brandon Chandler
Registered User
Join date: 15 Jul 2006
Posts: 9
07-22-2006 15:31
From what it sounds like, you would probably want to avoid llRotateTexture, and use llOffsetTexture instead.