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 ryan Chang · Jan 16, 2011 at 09:03 PM · falling-through-floor

Falling through floor

Hi, Im new to unity and my first person controller keeps falling though the terrain. The terrain has a collider and my fp controller has a collider too. Is trigger is not checked. The colliders arent touching each other. It also falls though cubes. Im using unity 3.1. Any help would be greatly appreciated.

Comment
Add comment · Show 1
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 Adrian Love · Jan 16, 2011 at 10:35 PM 0
Share

The colliders arent touching each other.

How do you know? only because he's falling through the floor. Try Debug.Log (colliderFlag); on the player.

http://unity3d.com/support/documentation/ScriptReference/CollisionFlags.Below.html

3 Replies

· Add your reply
  • Sort: 
avatar image
1

Answer by oliver-jones · Jan 16, 2011 at 10:18 PM

Try moving your character a fair bit off the floor and then hit play -- what sometimes happens is that when you place your character too close into the terrain floor, the colliders will fall through each other.

Comment
Add comment · Show 1 · 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 ryan Chang · Jan 17, 2011 at 12:38 AM 0
Share

was i supposed to attach he script to my player because that didnt work. i also put my character well above he terrain and that didnt work either. Please check back.

avatar image
0

Answer by straley · Jun 07, 2011 at 09:42 PM

Hi All,

Just in case people are searching for an answer to this, like I was, I had a similar problem. It turns out I set the XYZ of the Main Camera attached to the First Person Controller -- and not the First Person Controller. Make sure that the Main Camera attached to the First Person Controller XYZ is set to 0,0,0 (or something appropriate). Then, set the XYZ of the First Person Controller.

~ Scott

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
avatar image
0

Answer by icesilvermist2 · Aug 08, 2011 at 09:58 PM

Im so excited because I am a n00b but I have fixed this!! I had a model based off of a cylinder. He fell through the floor no matter what! What I did was A. Make a new Empty Object B. Scale it so that it fits inside of your object C. Move it down so that the bottom just barely goes under your object D. Make the new object the Parent of your object by dragging your object onto it E. Apply your movement scripts to the new Empty Object instead of your object ~~ Hope this helps!!

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

2 People are following this question.

avatar image avatar image

Related Questions

TornadoTwinsWormVideo#2 HELP!!! 3 Answers

Checklist: Object or Character is falling through the floor 12 Answers

Collider component not working on free falling object! 0 Answers

Unity Platformer Problems 1 Answer

2D Edge Collider Thickness? 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