Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

floating chair

Eyerocker Picket
Imaginary Menagerie Mgr.
Join date: 18 Sep 2006
Posts: 151
03-21-2008 12:42
Ive gotta idea for a floating chair and have tried to modify some hoverboard scripts but the effect of the sitter slamming against a wall at 90kmh when you sit is not very welcomeing for my guests. I have searched the scripting forums and tips and havent been able to find anything. So...I'm asking the folks here that are by far the most intelligent people in SL.

Is there a script I can put into a prim and link it to other prims the will enable my chair to float with a slight bob up and down (without the accelerator petal up arrow key)? I dont need any controls or anything available to the sitter. All I would like to do is have them sit and visit a spell in a really cool chair that hovers and slightly bobs up and down. I think I have seen some floating things somewhere in world but I cant remember where as it was some time back.


Thank you in advance for any help or guidance.
Ollj Oh
Registered User
Join date: 28 Aug 2007
Posts: 522
03-21-2008 15:40
yes, just use a timer (or read actual time to milliseconds accurate) and use a sinus(time) function on byoacy.
Void Singer
Int vSelf = Sing(void);
Join date: 24 Sep 2005
Posts: 6,973
03-21-2008 16:03
untested, but buoyancy requires physics, which means the object could be bumped out of place, an undesirable trait. instead, perhaps a micro adjusted set pos function while an av is siting, that rotates between an inital position and a slightly lower one, in increments
_____________________
|
| . "Cat-Like Typing Detected"
| . This post may contain errors in logic, spelling, and
| . grammar known to the SL populace to cause confusion
|
| - Please Use PHP tags when posting scripts/code, Thanks.
| - Can't See PHP or URL Tags Correctly? Check Out This Link...
| -
Hewee Zetkin
Registered User
Join date: 20 Jul 2006
Posts: 2,702
03-22-2008 11:35
The llSetPos() solution is one I used for a innertube a while back, when physical moves, impulses, etc., didn't seem satisfactory. The thing to watch for is that this will use up LOADS of script time. You may want to deactivate the motion when noone is sitting.