|
Thom Perun
Registered User
Join date: 13 Sep 2005
Posts: 31
|
10-22-2007 10:28
I am trying to right a script to make scripted flight. It is an attached object, but not a vehicle, and will be used to create flight in no-flight RP areas... At first I went at setting buoyancy to float and apply forces... But I am getting some funky things coming out... Anyone know a script that you can point me towards? My searches in the forum and wiki have been fruitless. =(
Disclaimer: Yes I know no-flight can be over-rided. But the main reason of this is for roleplaying, so please do not flame for trying to let annoying people fly where others do not want them to...
|
|
Tyken Hightower
Automagical
Join date: 15 Feb 2006
Posts: 472
|
10-22-2007 11:46
From: Thom Perun I am trying to right a script to make scripted flight. It is an attached object, but not a vehicle, and will be used to create flight in no-flight RP areas... At first I went at setting buoyancy to float and apply forces... But I am getting some funky things coming out... Anyone know a script that you can point me towards? My searches in the forum and wiki have been fruitless. =(
Disclaimer: Yes I know no-flight can be over-rided. But the main reason of this is for roleplaying, so please do not flame for trying to let annoying people fly where others do not want them to... You'll find that you only need to set buoyancy after a general height or a certain height above ground or water. Pretty much that and llApplyImpulse are all you need, but I don't remember what the height value is at which you turn on buoyancy.
|
|
Jesse Barnett
500,000 scoville units
Join date: 21 May 2006
Posts: 4,160
|
10-22-2007 13:00
From: Tyken Hightower You'll find that you only need to set buoyancy after a general height or a certain height above ground or water. Pretty much that and llApplyImpulse are all you need, but I don't remember what the height value is at which you turn on buoyancy. Ground height plus 50 meters, you switch to bouyancy = 1.0, below that you use bouyancy = 0.0. This is all subject to change when Havoc 4 hits the MG. In Aditi right now the limit is in the neighborhood of 77 meters.
_____________________
I (who is a she not a he) reserve the right to exercise selective comprehension of the OP's question at anytime. From: someone I am still around, just no longer here. See you across the aisle. Hope LL burns in hell for archiving this forum
|