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 Somebody Awesomely Random · Dec 04, 2010 at 03:29 AM · charactermovegroundfloorfalling-through-floor

On Unity, after I add the CharacterController and JavaScript, I keep falling through the cube floor i made, no matter how thick it is! Can someone help me?

When i make a cube for the floor, I put it at exactly 100 wide, .3 tall or larger, and 100 other wide thing. Then, I take an object, and give it the JavaScript scrpt. And then, I press play, and my "Character" falls through the ground (yes, it has the CharacterController)! Another time after I got it working, I fixed it up, then pressed play. I could move up and down, but not side to side. Can somebody tell me what i'm doing wrong? ~Somebody Awesomely Random out!~

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 MC HALO · Dec 04, 2010 at 04:05 AM

i think its the character controller, look at the players feet's and see if the character controller is under them. if the character controller is under the feet's the player will start falling under. make sure that the character controller is a bit above the feets. also check and see if the floor has a collider :) if none of this work let me know

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 Somebody Awesomely Random · Dec 04, 2010 at 05:17 AM 0
Share

thanks, but i don't know what that means. but thanks so much! also, my player is a cylinder.

avatar image MC HALO · Dec 05, 2010 at 02:58 AM 0
Share

hey no problem here is a tutorial that i made some time ago which helps a bit on the character controller

http://www.youtube.com/watch?v=HUQrvk55dLU&feature=related

avatar image
0

Answer by superventure · Dec 04, 2010 at 11:34 AM

to put a collider on the cube, select it, go to component> physics > then pick a box or mesh collider. If you can't move horizontally, it would help if you gave a sample of your current script so someone can see what's going on and help. Oherwise- you're basically asking for someone to fix a car without tools!

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

No one has followed this question yet.

Related Questions

Need help getting my character to move 2 Answers

Character Model Move Direction 0 Answers

Random location when clicked on 1 Answer

How can I do the character parallel to geometry level 1 Answer

Rb2d.addForce is changing my y value 2 Answers


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