This is your problem.

my.pan += rotateSpeed;
my.roll += rotateSpeed;
my.tilt += rotateSpeed;

There is no collision detection going on there. Look up "c_rotate" in the manual. That should set you in the right direciton.


---------------------
There is no signature here.


QUIT LOOKING FOR ONE!