These forums are CLOSED. Please visit the new forums HERE
Vehicle Max Hover Height? |
|
Jericho Powers
Hero Without A Cause
Join date: 31 Dec 1969
Posts: 166
|
04-26-2005 09:28
Heya, its been a while since I have been active in SL. (hello to the old timers!) Anyways I was rescripting a chopper of mine with the "new" vehicle functions and after some tweaking got it to behave, at low altitudes atleast. I ended up using the ballon type since it kept the craft upright and the airplane does not. So I am using hover height to change altitiude, but it only goes up to 100meters. So how does anyone know why the limit exists or if there is a way around it? Could I request it changed or a new vehicle type made? I am not really keen on scripting it to autolevel itself under airplane mode but if its the only way I'll do it. Thanks for the help.
_____________________
Gibson, thereabouts.
|
ZsuZsanna Raven
~:+: Supah Kitteh :+:~
Join date: 19 Dec 2004
Posts: 2,361
|
04-26-2005 09:42
Interesting join date...
_____________________
~Mewz!~
![]() |
Jericho Powers
Hero Without A Cause
Join date: 31 Dec 1969
Posts: 166
|
04-26-2005 09:50
Heh, yup.
![]() _____________________
Gibson, thereabouts.
|
Karsten Rutledge
Linux User
![]() Join date: 8 Feb 2005
Posts: 841
|
04-26-2005 10:35
Set it to an airplane, set full buoyancy, and use llRemoveVehicleFlag(VEHICLE_FLAG_LIMIT_ROLL_ONLY) after you set the vehicle type. This will cause vertical attraction to be applied to pitch as well as roll, thus it will auto-level itself at all times when you're not applying motor. You can then use the Z axis on the linear motor to push the vehicle up or down. I have a working hovercraft that does exactly this.
Edit: As an added note, I have limited success with the vehicle buoyancy parameter, as long as the vehicle will never weigh more than 90 whatever-unit-SL-measures-mass-in, you can just llSetBuoyancy(1.0) instead, which seems to work better for the moment. This is probably taboo, but I couldn't get the vehicle to not fall (albeit slowly) with setting the corrosponding vehicle float param to 1.0, and it's a very light vehicle, even with two people in it. _____________________
![]() New products, updates, rants, randomness. Addictive high-quality games for sale: Greedy Greedy, On-A-Roll, Mancala and the newly released Khet laser strategy game. |
Jericho Powers
Hero Without A Cause
Join date: 31 Dec 1969
Posts: 166
|
04-26-2005 12:13
Thanks, thats just the kinda fix I was hoping for!
_____________________
Gibson, thereabouts.
|