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.