• 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 Cheezy-Neezy · Jul 27, 2016 at 07:17 PM · cameracolliderscollision detectionfloor

Camera falling through floor

Hey everyone,

I imported an asset from rhino as obj. This file is a building with surrounding. I used a video tutorial to script and implement auto walk for google cardboard but sadly my camera keeps falling through the rhino model. I tried solving it with colliders but I get either
a) fall through floor as soon as I click

b) I click and I take off to the sky

c) Until I click the camera bounces up and down very quickly and after I click it shoots up or down.

What am I doing wrong? Is there anything I should change in the collider setup?

Any help or pointers would be very appreciated.

Comment
Add comment · Show 3
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 UDN_8f365269-a249-4efb-b3b2-c583b3eaa02d · Jul 27, 2016 at 07:48 PM 0
Share

You're going to have to be more specific, give us some more information, screenshots, code...

avatar image Rajeesh_AR · Jul 28, 2016 at 05:55 AM 1
Share

How are you going to walk?

I asked this, because, currently your camera have Rigidbody attached to it. If its not necessary you could remove that.

avatar image mrpmorris · Jul 28, 2016 at 08:41 AM 0
Share

Is the camera parented by another object that doesn't have a collider? If so then add a collider to its parent, not the camera itself.

0 Replies

· Add your reply
  • Sort: 

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.

Welcome to Unity Answers

The best place to ask and answer questions about development with Unity.

To help users navigate the site we have posted a site navigation guide.

If you are a new user to Unity Answers, check out our FAQ for more information.

Make sure to check out our Knowledge Base for commonly asked Unity questions.

If you are a moderator, see our Moderator Guidelines page.

We are making improvements to UA, see the list of changes.



Follow this Question

Answers Answers and Comments

5 People are following this question.

avatar image avatar image avatar image avatar image avatar image

Related Questions

BoxCollider get stuck when dragging over the border of two BoxColliders 1 Answer

Camera Collision Didn't Work. Please Help me... 2 Answers

edited animation colliders, now game is broken 0 Answers

How to check if 2 collisions are on the same objects ? (is player on the same ground than enemy?) 2 Answers

How to single out specific colliders from another object 1 Answer

  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges