Difference between revisions of "VEHICLE TYPE AIRPLANE"

From Second Life Wiki
Jump to navigation Jump to search
Line 4: Line 4:
|value=4
|value=4
|desc=Uses linear deflection for lift, no hover, and banking to turn.
|desc=Uses linear deflection for lift, no hover, and banking to turn.
<pre>
|example=<pre>
// very little friction along forward-back axis
// very little friction along forward-back axis
llSetVehicleVectorParam( VEHICLE_LINEAR_FRICTION_TIMESCALE, <200, 10, 5> );
llSetVehicleVectorParam( VEHICLE_LINEAR_FRICTION_TIMESCALE, <200, 10, 5> );
Line 47: Line 47:
llSetVehicleFlags( VEHICLE_FLAG_LIMIT_ROLL_ONLY );
llSetVehicleFlags( VEHICLE_FLAG_LIMIT_ROLL_ONLY );
</pre>
</pre>
|examples
|constants={{!}} {{LSL Constants/Vehicle Types}}
|constants=| {{LSL Constants/Vehicle Types}}
|functions={{LSL DefineRow||[[llSetVehicleType]]}}
|functions={{LSL DefineRow||[[llSetVehicleType]]}}
|events
|events

Revision as of 15:47, 27 September 2007

Description

Constant: integer VEHICLE_TYPE_AIRPLANE = 4;

The integer constant VEHICLE_TYPE_AIRPLANE has the value 4

Uses linear deflection for lift, no hover, and banking to turn.

Related Articles

Constants

Flags Description
VEHICLE_TYPE_NONE 0 Turns off vehicle support
VEHICLE_TYPE_SLED 1 Simple vehicle that bumps along the ground, and likes to move along its local x-axis
VEHICLE_TYPE_CAR 2 Vehicle that bounces along the ground but needs the motors to be driven from external controls or timer events
VEHICLE_TYPE_BOAT 3 Hovers over water with lots of friction and some angular deflection
VEHICLE_TYPE_AIRPLANE 4 Uses linear deflection for lift, no hover, and banking to turn
VEHICLE_TYPE_BALLOON 5 Hover, and friction, but no deflection

Functions

•  llSetVehicleType

Deep Notes

Search JIRA for related Issues

Signature

integer VEHICLE_TYPE_AIRPLANE = 4;