Jump to content

Issue with camera clipping


Recommended Posts



Well that's just rude Duion. Please don't answer, if you don't intend to contribute to the discussion.

In the topic, I don't know how to avoid this issue, but there might be something in the documentation :


Under scripting - > advanced, there is a guide called "Camera Modes". Might be that it can help you a bit.

Link to comment
Share on other sites

Well look into the "theLevelInfo" in the scene inspector, in that you will find a value called "nearClip" which is set to 0.1 (10cm), this is the distance the clipping happens and if your camera gets closer you view through the surfaces.

You can try changing the value of nearClip to fix that, but the nearClip value is already set to a quite ideal value, so you are left with the alternative of preventing the camera getting too close, like with playing with the camera distance values, but that is not going to the root of the problem.

The ideal solution would probably to have some kind of collision box for the camera of 10 or maybe better 20cm so the clipping will never happen, I think the current camera is just a point.

If you are a pro you can also try to change the clipping algorithms in the source code, it needs a fix anyway, since it is slightly different in openGL and directX at least it was like that a while ago, I could not remember if we fixed that.

Link to comment
Share on other sites

The attribute 'nearClip' effects values for every object and terrain piece (not just the camera) and makes it all funky if you go below the value .1. I'll look into wrapping the camera with a collision and report to this thread if it does anything for me.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...