[Plib-users] 3rd person camera
Brought to you by:
sjbaker
From: Trent G. <tm...@cy...> - 2000-05-25 02:24:11
|
How can I find out if there is something between the camera and the player in my game? I have the absolute position of the player and the position of the camera relative to the player. I would like to move the camera around to a different point if there is something between it and the player, and if that fails, move the camera higher up above the player. I've tried stepping back from the players position and testing with ssgLOS at each step, but the results are totally messed up. I must be doing something wrong. Thanks. |