Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

Vehicles - HOW DO YOU KEEP THEM UPRIGHT?

Fermion Moonflower
Registered User
Join date: 12 Jan 2004
Posts: 5
10-29-2004 23:00
I've been working on creating an airship/hot air balloon using the llSetVehicle commands and I've been thoroughly enjoying crashing into objects and flipping frantically end over end until I manage to pull out my edit stick and get things under control.

At any rate, the fun has ended and now I'm worried. I can't seem to be able to limit my hot air balloon such that a small collision doesn't turn my vehicle into a rollercoaster. I've tried playing with VEHICLE_ANGULAR_DEFLECTION_TIMESCALE and VEHICLE_ANGULAR_DEFLECTION_EFFICIENCY as well as the FRICTION constants for both Linear and Angular "modes," but I haven't found a working set yet. Any help would be greatly appreciated :)
Al Bravo
Retired
Join date: 29 Jun 2004
Posts: 373
10-30-2004 00:21
Try playing with these params a bit:

VEHICLE_VERTICAL_ATTRACTION_EFFICIENCY
A slider between minimum (0.0 = wobbly) and maximum (1.0 = firm as possible) stability of the vehicle to keep itself upright.
VEHICLE_VERTICAL_ATTRACTION_TIMESCALE
The period of wobble, or timescale for exponential approach, of the vehicle to rotate such that it's preferred "up" axis is oriented along the world's "up" axis.
Fermion Moonflower
Registered User
Join date: 12 Jan 2004
Posts: 5
10-30-2004 00:34
Thanks Al! This works perfect. I don't understand how I overlooked this. LOL Thanks for your help!!