Re: [Plib-users] 3rd person camera
Brought to you by:
sjbaker
From: Steve B. <sjb...@ai...> - 2000-05-26 03:21:41
|
Trent Gamblin wrote: > > 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. There is code in my Tux game to do that - but it doesn't help as much as I thought - it's really hard to figure out where to move the camera in the event that there is something in the line of sight. Camera positioning is a MAJOR problem! -- Steve Baker http://web2.airmail.net/sjbaker1 sjb...@ai... (home) http://www.woodsoup.org/~sbaker sj...@ht... (work) |