Best FPS Camera?

Blitz3D Forums/Blitz3D Programming/Best FPS Camera?

anderstone(Posted 2005) [#1]
Which way would be the best way for positioning a camera in a FPS? Should i place the camera a certain distance above a cube? or should i use line pick? Any help would be great.


Naughty Alien(Posted 2005) [#2]
..you will position your camera at the begin of your level, on specific position (eg. 10,10,50) and from that moment you should simply do pressed keycheck in main loop to define your camera movement and pisition changes according to your commands with Translateentity camera,x,y,z or Positionentity camera,x,y,z ...


anderstone(Posted 2005) [#3]
But when i got up stairs or ramps the camera doesn't stay at that certain distance.


Luke.H(Posted 2005) [#4]
Move the camera after updateworld()


anderstone(Posted 2005) [#5]
On a mesh?


WolRon(Posted 2005) [#6]
Check out my FPS example in my Programming tutorial...


Alienforce(Posted 2005) [#7]
www.blitzbasic.com/codearcs/codearcs.php?code=1137

Check out this, it contains everything you need

/Alienforce

www.gizmoteket.se


Ross C(Posted 2005) [#8]
Basically when you go up stairs or ramps, the entityraduis of the player will keep it at a set distance from the floor. You might want to have a look at the manual, more specifically at the "Collisions" command and "EntityType".