G General

OSC Pendulums and Bells Version 1.0

OSC Pendulums and Bells
Details
Features
Contents
Reviews

Step 1:Make a linkset
Step 2:Rename some linkset parts to have the word "Pendulum" in them.
Step 3:Make sure your new pendulums are longer than they are wide.
Step 4:Place this script inside the root prim.
Step 5:Admire swinging things.
Step 6:Figure out how to actually configure it so it actually swings the way you want ( don't worry it's not hard )

This script will take anything inside a linkset that you name "Pendulum" and make it swing like a pendulum.

At the same time anything that you name "Bell" will also swing like a pendulum, though in a slightly different manner, since by default bells slow to a stop after they stop ringing.

This script listens to linkset messages so it's easy to have another script "talk" to it ~ to allow for easy external control over "pushing" your swinging objects if you're making something that isn't a clock, but still requires harmonic motion.

Also has a variety of configuration options within the script in case the meshes / prims that you're trying to make swing aren't moving in the desired manner at first.

Perms are MOD COPY XFER, however you MUST agree to change to NO-MOD for distribution of products made with this script.

Contains a Demo object with a rudimentary HUD for those who are confused on how to do setup. HUD script is also full perm and easy to adapt.

=FAQ=
Do you really just drop this script into the root prim of an object and things start swinging?
>> Yes, if you've named them correctly.

Is this just for clocks? Can I make other things swing too?
>> This is a STANDALONE script ~ it does not require OSC to function ~ You can do whatever you want with this, make building sized pendulums, make hypnotist tools ~ Whatever you want !

"One Script Clock" is a 10L freebie, why is this expensive?
>> Pendulum animation causes 5-10 times the amount of simulator lag than a simple clock does. I'm charging you for causing lag. (Also OSC should be priced over 1000 L$ ~ but I'm being nice!)

Why would I want Bells?
>> Bells are great for clock towers and churches etc, this script~ when paired with OSC will make them swing correctly on the hour, when they're supposed to be ringing, and then stop afterwards.

Do pendulums swing correctly like they do in the real world?
>> Yes and no. Yes, pendulums swing in a correct sinusoidal manner where their swing speed slows and then reverses. Yes, their period can be configured to match the real world value of a pendulum of X meters length simulated in -9.8 meters / per second squared gravity. But SL doesn't have "mass" so time till stopping isn't governed by actual friction, instead you just specify "I want it to swing for 42 seconds" after it's pushed, and that's what it'll do.

That previous paragraph sounded really complicated, can't the script just do all this automatically? It's a script after all!
>> Why yes ! There's an option "USE_RL_PERIOD" ~ just set that to TRUE;

Are Pendulums really THAT bad for SL?
>> Well ~ yes and no. A healthy sim can run 40 pendulums at 20 steps per second and not have any adverse effects (I actually tested this personally), but that's not the reality of most sims. Most sims have script time "halts" every few seconds, due to checking idle script inventories and avatars entering and leaving. Having this script running on top of that en-mass could potentially make that worse. Running a couple here and there isn't going to bring a sim to it's knees by any means, but most residential sims don't exactly coordinate who is running what. That being said~ Having 160 completely idle vendor or furniture scripts will cause way more sim lag than this script ever will, no matter how many pendulums in the linkset it is that you're swinging.

What are the available adjustments that can be easily made?
>> Changes to the are following all available easily editable options::
•Swing axis / direction
•Swing arc size
•Which end things swing from (top vs bottom)
•Swing pivot location( center or end )
•Continuous swinging vs Degrading swinging
•Using realistic swing period based on length
•Using set swing period in seconds
•Animation smoothness ( at the cost of lag )

What is Harmonic Motion?
>> It's the fancy physics word for things that move in a predictable repeating pattern.

  • Interfaces with "One Script Clock"
  • Works as a standalone script for people not making clocks
  • Allows for both constant swinging pendulums and also ones that degrade over time
  • Pendulum and Bell behavior can differ
  • Single Script Design
Average rating: full star full star full star full star full star
  • 5 star:
  • 4 star:
  • 3 star:
  • 2 star:
  • 1 star:
SUPER PERFECT AND SO EASY TO USE!
full star full star full star full star full star Posted January 24, 2022 by Isa Aristocrat

super super amazing the script writer is super super nice too..worth every penny infact i really think its really quite cheap...she's sublime and takes the time out of her day to ensure everything runs smoothly...and right!

Was this review helpful?