Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

Wheel of Fortune script needed

Dementia Lane
Dead Soul Designs
Join date: 23 Apr 2007
Posts: 101
02-17-2008 11:11
I need a type of "wheel of fortune" script. One that a person clicks the wheel to start it spinning. It stops after a few seconds on a certain prize.

I found something like this on slexchange as an object, yet I was just interested in the script. If anyone can script this, or knows of another product like this, let me know.
Dementia Lane
Dead Soul Designs
Join date: 23 Apr 2007
Posts: 101
02-18-2008 13:37
Anyone know? :)
Zolen Giano
Free the Shmeats!
Join date: 31 Dec 2007
Posts: 146
02-19-2008 10:56
Hi, I tried to make that script you wanted. But its a little tricky.

The problem is that when you use the spinny function, the effect is client side...so, when it stops spinning, the ending rotation looks differnt to each client.

The only way to overcome this was to make the spinny thing physical. The problem with that is, the darn thing will roll away. :P

So, i tried to make the spinny thing with a hollow hole with an axel through it. But it doenst spin proper..it just wants to wobble around and not really spin.

So, I'll tinker with it some more. I might have to use a differnt technique. maybe an engine that provides torque or something.

If I get something working, I'll message you in game.

Cheers!

zg
Rocky Rutabaga
isn't wearing underwearâ„¢
Join date: 14 Apr 2006
Posts: 291
03-03-2008 13:03
For your spinny thing: I've made some rotating physical discs and the only way I've found to keep them in control and actually spin is to extend the axle above the spinner and thread it through an invisible ring above. This lessens the wobble and keeps the spinny thing in place. Make sure your ring's hole is a bit oversized. Otherwise, the axle can stick or even slip through the solid ring.
_____________________
Xhawkx Holden
Registered User
Join date: 1 Nov 2006
Posts: 86
03-03-2008 13:16
What you REALLY want to do is give the EFFECT of spinning without actually spinning.
You can accomplish this by offsetting the texture on a cylinder. It will appear to rotate without actually moving/spinning the object.

I used this technique to make wheels in a slot machine.