Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

Implement coding to a button that can adjust the angles on the track.

Hasina Solo
Registered User
Join date: 26 Oct 2009
Posts: 25
12-02-2009 21:52
Hi everyone,

i have some doubts on how to implement coding on a button that, when clicked, it will adjust the angles on the track. Do anyone know how to do it? I hope you all would help me asap. Thank You.
Pete Olihenge
Registered User
Join date: 9 Nov 2009
Posts: 315
12-03-2009 01:22
From: Hasina Solo
angles on the track
I don't understand wat you mean. Are you talking about the points on a railway track?
Hasina Solo
Registered User
Join date: 26 Oct 2009
Posts: 25
12-03-2009 19:35
no.... its like.... a ball roll down from a track. Once a button is press, it would adjust the angle of the track. Then, the ball rolls down from the track. example like, i want the track to move at 20 degrees. So once i press the button, the track will automatically adjust to 20 degrees. I hope you would understand what i meant. I hope you would help me asap. thank you.
Rolig Loon
Not as dumb as I look
Join date: 22 Mar 2007
Posts: 2,482
12-03-2009 21:47
That's a non-trivial bit of scripting. Not a beginner's script, for sure. Good luck.
_____________________
It's hard to tell gender from names around here but if you care, Rolig = she. And I exist only in SL, so don't ask.... ;)

Look for my work in XStreetSL at
Hasina Solo
Registered User
Join date: 26 Oct 2009
Posts: 25
12-03-2009 23:01
Sorry what u mean? i really need help on it. please help. Thanks.
Innula Zenovka
Registered User
Join date: 20 Jun 2007
Posts: 1,825
12-04-2009 01:48
What Rolig's saying is that what you describe is going to be quite difficult to do even for an experienced scripter, so maybe it's not a good idea for a first project.

But if you want to alter the angle of the track, take a look at http://wiki.secondlife.com/wiki/Rotation for an overview of the issues involved. After you've read that, you may find http://wiki.secondlife.com/wiki/User:Void_Singer/Rotations helpful.