• 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 hero14 · Apr 13, 2012 at 01:11 AM · boxcolliderlevels

Troubles with Colliders

Hey, i´m doing a 3rd person platform game, and contains 5 stairs, the first one is plane and there is a spawn point on it, and the other 4 are in different x-axis and y-axis position, some are above and others under the 0 position (y-axis); the thing is that my character that is the default 3rd person controller including in Unity works very well on the first plane( cube, scale: 12, 0.2, 2) and it can also jump, then i jump to the other that is on -0.5 y position and works, then the next one is on 0 y position and works too but the next one is on 0.5 y pos. and jumps to the next one instead, that is on 1 y position. Then when i´m on the last one i try to go back to the spawn point and again the same problem with the 3rd stair, and also when i´m on the 2nd one falls through it, and others times it works, but when i jump goes so forward almost in the middle of the 1st plane. I think this could be caused by colliders, but i don´t know where is the problem, all of them has the same size (1,1,1) but i think that´s can be the problem, also my character can jump from 1 to 1.5 max height,and it seems the trouble with the stairs happens when i jump or when i down from one stair to another, so please help me...

alt text

u.png (231.1 kB)
Comment
Add comment · Show 2
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 TheFrankman123 · Apr 13, 2012 at 01:19 AM 1
Share

This question is frankly insane. The only thing i can suggest is give it a go using cubes rather than planes and see if it helps you at all. Other than that i don't see anyone being able to help you much. $$anonymous$$aybe editing your question by adding an image.

avatar image hero14 · Apr 13, 2012 at 02:25 AM 0
Share

There it is, hope it helps you..

1 Reply

· Add your reply
  • Sort: 
avatar image
0

Answer by dkNinja · Apr 13, 2012 at 03:48 AM

I agree with TheFrankman123. I think the problem is that colliders are iterative. If you have a very thin collider, then there is a high chance of an object passing straight through the collider. Try adding some depth to your colliders. If your character has a CharacterController, try adding skin width to it.

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 hero14 · Apr 13, 2012 at 07:32 PM 0
Share

I was trying checking the scripts, and i remove the platformer controller script and the problem was solved, my character can walk and jump and it does not fall trough the cubes, but there´s another problem, my character falls if i move sideways, wich didn´t happen when it had the character controller script. I put that script on my character in order to have a spawn point and contains more properties like movement and jump options, so now what can i do to have this options but keeping the game as it is now..?

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

If you’re new to Unity Answers, please check our User Guide to help you navigate through our website and refer to our FAQ for more information.

Before posting, make sure to check out our Knowledge Base for commonly asked Unity questions.

Check our Moderator Guidelines if you’re a new moderator and want to work together in an effort to improve Unity Answers and support our users.

Follow this Question

Answers Answers and Comments

6 People are following this question.

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

Related Questions

Looping scenes by pressing "X" button on PS3 controller 0 Answers

How do I change scenes from triggers in UNity 1 Answer

Quickly Blocking Out A Level - How? 1 Answer

protecting assets - networking games -1 Answers

How to show an image while waiting for the game to finish loading 0 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