see through
Blitz3D Forums/Blitz3D Beginners Area/see through
| ||
I notice that whenever I make a maplet level and export it as a b3d and use it in a FPS in blitz3d, when I collide with a wall of the level, I can see through it. How do I fix this problem? |
| ||
1. increase the collision radius of the player. or 2. Change the camera draw distance. |
| ||
camerarange 0.001, 1000 for example and 0.3 of radius player is good |
| ||
"camerarange 0.001, 1000 for example and 0.3 of radius player is good" No its not actually. You should have as high a minimum camera distance in relatiion to the position of the polygons being drawn as you can comfortably manage, or you will have z-buffer problems occurring. The link below explains things in more detail. http://www.sjbaker.org/steve/omniv/love_your_z_buffer.html |
| ||
Thanks for the lesson Axeman. |
| ||
In my latest Demo I managed to have my camerarange at 0.1 to 50.0. This gave me a massive speed boost. But it requires that all rooms fit in 50 units... |