|
Kayaker Magic
low carbonated footprint
Join date: 11 Sep 2008
Posts: 109
|
11-14-2008 20:10
OK, I set llSetVehicleType(VEHICLE_TYPE_BALLOON); but this seems to set a whole bunch of the other parameters for me. Is there a way to find out what these are besides exhaustive testing? For example I could not get VEHICLE_LINEAR_MOTOR_DIRECTION to push my balloon up or down because VEHICLE_HOVER_HEIGHT is apparently set to a non-zero value for balloons. When I set that to 0.0 I was finally able to push my balloon up. But I’m still unable to get the VEHICLE_ANGULAR_MOTOR_DIRECTION to work at all. I set it to reasonable vectors like <0.0,0.0,1.0> but no rotation. I tried setting: llSetVehicleFloatParam(VEHICLE_ANGULAR_DEFLECTION_EFFICIENCY,1.0); llSetVehicleFloatParam(VEHICLE_ANGULAR_DEFLECTION_TIMESCALE,1.0); llSetVehicleFloatParam(VEHICLE_ANGULAR_MOTOR_DECAY_TIMESCALE,100.0); llSetVehicleFloatParam(VEHICLE_ANGULAR_MOTOR_TIMESCALE,1.0); but still the balloon won’t rotate on a VEHICLE_ANGULAR_MOTOR_DIRECTION call. What am I doing wrong?
|
|
SuezanneC Baskerville
Forums Rock!
Join date: 22 Dec 2003
Posts: 14,229
|
11-14-2008 20:24
http://wiki.secondlife.com/wiki/VEHICLE_TYPE_BALLOONI think that's what you want. First link when you Google search for VEHICLE_TYPE_BALLOON , also when you search the wiki for it and click the Go button.
_____________________
-
So long to these forums, the vBulletin forums that used to be at forums.secondlife.com. I will miss them.
I can be found on the web by searching for "SuezanneC Baskerville", or go to
http://www.google.com/profiles/suezanne
-
http://lindenlab.tribe.net/ created on 11/19/03.
Members: Ben, Catherine, Colin, Cory, Dan, Doug, Jim, Philip, Phoenix, Richard, Robin, and Ryan
-
|
|
AnnMarie Otoole
Addicted scripter
Join date: 6 Jan 2007
Posts: 162
|
11-14-2008 21:47
Try llSetStatus(STATUS_ROTATE_X | STATUS_ROTATE_Y | STATUS_ROTATE_Z, TRUE); I think these are set false for balloons and that locks them from rotating.
|
|
Kayaker Magic
low carbonated footprint
Join date: 11 Sep 2008
Posts: 109
|
11-15-2008 23:05
Thanks SuzanneC, I didn't think to click on the VEHICLE_TYPE_BALLOON constant to go to that page, it shows all the defaults! Now I know what is on that I want to turn off! And thanks AnnMarie, I should have thought of llSetStatus. I only need to turn STATUS_ROTATE_Z back to true so I can turn my balloon. And that is working now! I can steer my balloon! Yippee!
|