Jump to content
livb89

Object rotating with no script in it

Recommended Posts

I made an object slowly rotate using llTargetOmega in the state_entry block 

Then with it still rotating I did 'take' on the object to put it in my inventory.

But now if I rez a copy without any script in it at all it still rotates.

So it seems this rotation is now built into the object without any script. Is that normal?

Share this post


Link to post
Share on other sites

Yes, that's completely normal.

There are these things called "object properties," which are all of the information about an object's appearance. In that wiki page, you can see most of the prim properties that can be set by a script but don't require a script to keep working. Other properties that are not included on that page are things like looping sound and particle effects, which also don't require a script to continue working.

  • Like 3
  • Thanks 1

Share this post


Link to post
Share on other sites

A bonus or 'plus' from this side effect is that you can safely remove the rotating script from those objects, thus reducing the number of running scripts on any given region.  The part(s) or object(s) will still rotate and you've reduced the region load by 1 script.  Granted the reduction in and of itself is very small, but it can add-up quite a bit when many objects are on a region.  Some particles are like this as well such as rain, fog, snow, smoke, mist.  If able to modify it, you can lower the running script count and still get the benefit of that object moving or whatever.  YMMV

  • 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.

Guest
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...