Jump to content

zoom script. ll set texture animation

Recommended Posts

Posted (edited)

hi! i am making a script which will zoom texture in and out. but it zooms in too close and out too far. how to fix it? i need approx. 2x zoom only and 1x1 zoom out.



        llSetTextureAnim(ANIM_ON | SMOOTH | SCALE | PING_PONG | LOOP,
         , 1, 1, 0.05, 1.0, 




Edited by Sunbleached

Share this post

Link to post
Share on other sites

Try replacing the 0.05, 1.0, with 0.5, 0.5,.

I've no idea how the parameters are supposed to work with scaling, but those numbers seem to zoom in to 2x and back to 1x.

  • Like 1

Share this post

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...