Help me understand this,
You want to have the gun movements different from the camera movements/player movements? Sorta like BF2142 or BF2, correct?
Why not set the camera/player movements to W,A,S,D keys and then the gun movement based on the mouse position?
I tried this with a flight sim test of mine and was able to do it, but I got some strange camera rotations with the secondary object.
Here is the code I used for the mouse rotations.
if camMode=2
position camera xPos#,yPos#,zPos#
set camera range 0,1,12000
set camera to object orientation 1
cx#=camera position x()
cy#=camera position y()
cz#=camera position z()
REM control camera with mouse in CamMode2 only
cax#=wrapvalue(cax#+mousemovey())
cay#=wrapvalue(cay#+mousemovex())
if cax#<30 then cax#=30
if cax#>150 then cax#=150
rotate camera 90,90,0
rotate camera cax#,cay#+object angle y(1),0
endif
The numbers have to be worked a bit more, I think you can get the jist of what It's doing..'er trying to do..
If you want the whole project to test out let me know, I use this program to look at my heightmaps before I save them as objects...
Cheers,
Dave