Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

Vehicle_flag_camera_decoupled

Fenrir Reitveld
Crazy? Don't mind if I do
Join date: 20 Apr 2005
Posts: 459
01-22-2007 20:18
Does this just not work?

My camera simply refuses to be decoupled.

I was mixing in the scripted camera (for when you are out of mouselook), but removing all references to the scripted camera has no change to my vehicle's behavior.

It flies just fine, but the camera rotates with the vehicle, regardless if the VEHICLE_FLAG_CAMERA_DECOUPLED flag is enabled or not.

What am I doing wrong?

Here's what I've got:

CODE
llSetVehicleFlags (VEHICLE_FLAG_MOUSELOOK_STEER | VEHICLE_FLAG_CAMERA_DECOUPLED | VEHICLE_FLAG_LIMIT_ROLL_ONLY) ;


UPDATE: I figured it out. Appearently, these flags can only be set once and NEVER revoked, otherwise it causes the decoupling to stop functioning no matter how many times you set the flag again.
_____________________
----
----
----
Jillian Callahan
Rotary-winged Neko Girl
Join date: 24 Jun 2004
Posts: 3,766
01-23-2007 00:38
Not exactly - crossing a sim border will change the camera state too.

It's a long long long standing bug.
_____________________