In this case the player is basicly the camera, i want to have a player.
A camera following a player, and the tilt of both are to be diffrent.
The player just tilts when the camera has archieved a certain tilt point.
Basicly only the player.pan is to be the same of camera.pan.
Imagine a 3rd person shooter but the player can fly on 3 axys.
Edit*
I have this player movement
player_movement.x = 8 * (key_w) * time_step;
player_movement.y = 6 * (key_a - key_d) * time_step;
player_movement.z = player_movement.x * camera.tilt * 0.2 * time_step;
(the player tilting depending on camera.tilt is on other function)
and it seems to be tilting depending on camera.tilt
but i found my.x follow my.tilt, so if the player tilts forward to start swimming while i press key_w he starts swimming downwards instead of going in front.
What could be causing this?
Thanks for your reply
Last edited by Mythran; 05/18/11 20:13.