|
Rebecca Naidoo
Registered User
Join date: 28 May 2008
Posts: 82
|
07-07-2008 17:26
Hi,
How can I control pitch down with a vehicle, I dont want to alter pitch up just down.
|
|
Dora Gustafson
Registered User
Join date: 13 Mar 2007
Posts: 779
|
07-08-2008 02:38
find the place in your vehicle script that looks like this: if(level & (CONTROL_DOWN)) { motor.y += pitchInc ; } llSetVehicleVectorParam(VEHICLE_ANGULAR_MOTOR_DIRECTION, motor);
when motor.y grows bigger you get more pitch down. That is the dynamic part. If it is the neutral static position of your vehicle you want to change then use: llSetVehicleRotationParam( VEHICLE_REFERENCE_FRAME, rotAdjust ); where rotAdjust is the rotation you want to be normal.
_____________________
From Studio Dora
|
|
Rebecca Naidoo
Registered User
Join date: 28 May 2008
Posts: 82
|
07-08-2008 06:17
Hi,
It's mouselook controled not keyboard, so the pitch down is not controled this way.
|
|
Dora Gustafson
Registered User
Join date: 13 Mar 2007
Posts: 779
|
07-08-2008 06:34
tada! mind reading is not a gift I was given 
_____________________
From Studio Dora
|
|
Rebecca Naidoo
Registered User
Join date: 28 May 2008
Posts: 82
|
07-08-2008 08:31
Sorry!
|