Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 13 Next capture
2021 2022 2023
1 capture
13 Jun 22 - 13 Jun 22
sparklines
Close Help
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
  • Asset Store
  • Get Unity

UNITY ACCOUNT

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account
  • Blog
  • Forums
  • Answers
  • Evangelists
  • User Groups
  • Beta Program
  • Advisory Panel

Navigation

  • Home
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
    • Blog
    • Forums
    • Answers
    • Evangelists
    • User Groups
    • Beta Program
    • Advisory Panel

Unity account

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account

Language

  • Chinese
  • Spanish
  • Japanese
  • Korean
  • Portuguese
  • Ask a question
  • Spaces
    • Default
    • Help Room
    • META
    • Moderators
    • Topics
    • Questions
    • Users
    • Badges
  • Home /
avatar image
0
Question by FrowningPigeon · Jul 12, 2013 at 10:44 AM · camerathird-person

Prevent third person camera from clipping through terrain and objects

H all,

I am currently using the third person controller which ships with unity, but as the title suggests I have a problem with the camera clipping through the terrain and other objects on my scene. I have researched on google and found suggestions about the 'Clipping Plane' but cant seem to find that on the third person character....any suggestions would be helpfull!

Thanks!

Comment
Add comment
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

2 Replies

· Add your reply
  • Sort: 
avatar image
0

Answer by tweedie · Jul 12, 2013 at 12:21 PM

As far as I know, the third person controller just takes the Main camera in the scene - i.e, if you haven't got a Camera in your scene, when you hit play you won't see anything.

So, if you select your Main Camera in the hierachy (rather than the Third person controller) you'll find its 'Clipping plane' properties in the Inspector. Simply reduce the 'Near' slider. I've heard that making it 0 does cause some problems though, so try to keep it as large as possible.

Comment
Add comment · Show 2 · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image FrowningPigeon · Jul 12, 2013 at 05:52 PM 0
Share

Hi, sorry for the late reply but that does not seem to work, i have reduced it to 0.01 and it still looks through my buildings and the terrain?

avatar image tweedie · Jul 12, 2013 at 09:43 PM 0
Share

Is the camera going into the mesh/object (terrain or building) at all, because if it's within the object then the normals aren't facing towards the camera and it won't see the surface. You can check by watching whether the camera 'enters' the object in the scene view whilst playing the game. Basically, this would look similar to clipping issues, but would only occur if the camera was rotated so that it was viewing out from the centre of an object (or within it), or if there were normal issues in the mesh. If you're simply looking towards/at an object and are seeing clipping issues then I'm afraid I'm really not sure what the problem is.

avatar image
0

Answer by StaticDelvar · Aug 09, 2013 at 10:36 AM

i was looking for the same thing and i found this, not tried it yet but i think it should work.

http://answers.unity3d.com/questions/25557/how-to-prevent-a-3rd-person-camera-from-clipping-i.html

Comment
Add comment · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

Your answer

Hint: You can notify a user about this post by typing @username

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this Question

Answers Answers and Comments

17 People are following this question.

avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image

Related Questions

A node in a childnode? 1 Answer

Whenever I use a Camera option unity crashes 0 Answers

Camera Movement 1 Answer

Camera looking at players face 2 Answers

Make Camera follow to Object(3rd person Camera) 1 Answer


Enterprise
Social Q&A

Social
Subscribe on YouTube social-youtube Follow on LinkedIn social-linkedin Follow on Twitter social-twitter Follow on Facebook social-facebook Follow on Instagram social-instagram

Footer

  • Purchase
    • Products
    • Subscription
    • Asset Store
    • Unity Gear
    • Resellers
  • Education
    • Students
    • Educators
    • Certification
    • Learn
    • Center of Excellence
  • Download
    • Unity
    • Beta Program
  • Unity Labs
    • Labs
    • Publications
  • Resources
    • Learn platform
    • Community
    • Documentation
    • Unity QA
    • FAQ
    • Services Status
    • Connect
  • About Unity
    • About Us
    • Blog
    • Events
    • Careers
    • Contact
    • Press
    • Partners
    • Affiliates
    • Security
Copyright © 2020 Unity Technologies
  • Legal
  • Privacy Policy
  • Cookies
  • Do Not Sell My Personal Information
  • Cookies Settings
"Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges