The only part of my code you need to work with whatever you have for roatation and movement is this for the main player setup (use your model in place of make object cube)
`make main player
make object cube 1, 10
`make limb to keep camera positioned correctly
limbnum = 1
make object plain 2, 1, 1, 1
make mesh from object 1, 2
delete object 2
add limb 1, limbnum, 1
delete mesh 1
hide limb 1, 1
offset limb 1, limbnum, 0, 10, -10
or this for a player object with more than 1 limb already
`make player
make object cube 1, 10
`make limb for camera position
perform checklist for object limbs 1
limbnum = checklist quantity()
empty checklist
make object plain 2, 1, 1, 1
make mesh from object 1, 2
delete object 2
add limb 1, limbnum, 1
delete mesh 1
hide limb 1, 1
offset limb 1, limbnum, 0, 10, -10
and this right before the sync in your loop
position camera limb position x(1,limbnum),limb position y(1,limbnum),limb position z(1,limbnum)
set camera to object orientation 1
or
position camera limb position x(1,limbnum),limb position y(1,limbnum),limb position z(1,limbnum)
point camera object position x(1), object position y(1), object position z(1)