Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

GLiding Aircraft

scubanutter Mills
Tanker, First Class
Join date: 16 Jul 2007
Posts: 18
12-13-2007 07:55
I have an aircraft that has a glider that follows it and when the pilot sits down in it it releases from the parent aircraft. I was just wondering whether anyone has a script to make a plane glide down with only left and right controls or knows how to make one.
_____________________
Your children of the dammed your backs against the wall, you turn into the light, your burning in the night, your children of the dammed.

IRON MAIDEN - Children of the night

There are 2 kinds of people on this beach:

The dead,

And those who are going to die.

General Norman Cota - D-Day, Omaha Beach

We want information, Information!
Mrc Homewood
Mentor of Randomness
Join date: 24 Feb 2007
Posts: 779
12-13-2007 08:03
you could request permisions to take control on gliders spawn and have llSetBouyancy(.8) ish anything under 1 and under will slowly fall anything higher will float up
scubanutter Mills
Tanker, First Class
Join date: 16 Jul 2007
Posts: 18
12-13-2007 10:07
anyone have a script that incorparates it or write me a quick one that i could finnish?
_____________________
Your children of the dammed your backs against the wall, you turn into the light, your burning in the night, your children of the dammed.

IRON MAIDEN - Children of the night

There are 2 kinds of people on this beach:

The dead,

And those who are going to die.

General Norman Cota - D-Day, Omaha Beach

We want information, Information!
Ordinal Malaprop
really very ordinary
Join date: 9 Sep 2005
Posts: 4,607
12-13-2007 10:12
If you just remove all of the controls apart from left and right from a standard aircraft script it should work (depending on the script I suppose, but that's what you're really doing here).

I wouldn't use llSetBuoyancy on a vehicle - I would use the appropriate vehicle flag instead, which is VEHICLE_BUOYANCY. The vehicle system doesn't use energy, whereas llSetBuoyancy does, so if your vehicle is heavy it is safer.




I did try to design a proper glider recently by the way, one which had lift on the wings proportional to forward velocity etc, but SL really wasn't having it no matter how hard I tried. I imagine things will be better with Havok 4.
_____________________
http://ordinalmalaprop.com/forum/ - visit Ordinal's Scripting Colloquium for scripting discussion with actual working BBCode!

http://ordinalmalaprop.com/engine/ - An Engine Fit For My Proceeding, my Aethernet Journal

http://www.flickr.com/groups/slgriefbuild/ - Second Life Griefbuild Digest, pictures of horrible ad griefing and land spam, and the naming of names