|
Johnny Prototype
Junior Member
Join date: 10 Aug 2004
Posts: 9
|
08-19-2004 09:15
Hi fellow SL'ers,
Can anyone tell me if the camera steering works and if so how it should be implemented in a vehicle script ?
I have designed a flying vehicle which uses the (unmodified) Andrew Linden Flight Script and wish to use camera steering. However...I find that including the functions:
SetVehicleFlags(VEHICLE_FLAG_MOUSELOOK_STEER)
OR
SetVehicleFlags(VEHICLE_FLAG_MOUSELOOK_BANK)
... doesn't actually give me mouse control of the vehicle in mouselook.
Also, am I correct in my understanding that STEER gives mouse control of Pich & Yaw, while BANK give mouse control of Roll ?
|
|
Wednesday Grimm
Ex Libris
Join date: 9 Jan 2003
Posts: 934
|
08-19-2004 09:31
If you set the mouselook flags, it modifies the meaning of the "angular motor direction" setting.
Basically you have to set some angular motor direction, and the bigger the motor is, the faster the vehicle will turn based on the direction the avatar is looking.
_____________________
Sarcasm meter: 0 |-----------------------*-| 10 Rating: Awww Jeeze!
|
|
Cross Lament
Loose-brained Vixen
Join date: 20 Mar 2004
Posts: 1,115
|
08-20-2004 18:19
I'm not sure I followed that.  I've been trying to figure out Mouselook Steering, too, but it doesn't make a lot of sense to me. I must be missing something simple. 
_____________________
- Making everyone's day just a little more surreal -
Teeple Linden: "OK, where did the tentacled thing go while I was playing with my face?"
|
|
Rico Plisskin
Registered User
Join date: 17 Feb 2005
Posts: 104
|
08-06-2006 12:59
I'm actually having the same problem. I have this BIG project I am doing and I lack in the scripting department. But I have a decent car script (DT Car Script 2.1) but it didnt have mouse steering in it. So I fiddled around with the script quite a bit and changed the vehical flags and such. But what is weird is that mouselook steering only works sometimes. I've found out that when im out of mouseview and i click on the car when it shows the hand and I drag the car a lil bit and move forward and move the mouse direction that it makes Mouselook steering work. Sometimes the steering will be backwards and I have to do the same method over again until it goes the right direction. There must be something I am doing wrong.
|