camera collision
Blitz3D Forums/Blitz3D Programming/camera collision
| ||
Whats the best method on setting up collisions for a camera? I am curently using EntityType camera,1 EntityRadius camera,1.41 Collisions 1,2,2,2 ;number 2 is a large level mesh but there is cliping on some camera angle. The cliping occers top left, top right, bottom right, bottom left corners. So whats a better way to do this? |
| ||
If you don't want clipping you have to ensure that the camera near rangeCameraRange camera,near,far ;near must be slightly smaller than camera radius is slightly smaller than the camera radius EntityRadius camera,1.41 Try adjusting the camera near value downwards or increase the camera radius until clipping is no longer visible. |
| ||
thanks |
| ||
Make sure near to far ratio is no more than 10000:1 |
| ||
Make sure near to far ratio is no more than 10000:1 And what kind problems can I get if it is over that? |
| ||
Rendering inaccuracies such as objects that should be obscured by other objects not being obscured. |