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 /
This question was closed Oct 26, 2013 at 08:03 PM by meat5000 for the following reason:

The question is answered, right answer was accepted

avatar image
0
Question by mkjrfan · Oct 26, 2013 at 05:08 PM · collisionmovementplayercontrol

Object passes through some walls?

Hi I was starting to use unity again after about a year of using something else and I ran into a problem where the player was only colliding with certain sides of an object. For example it would only collide with the left or right side of a cube but on the other side of the walls the player would go through.

I'm using a capsule collider and rigid body for the player and a box collider for the box.

What am I doing wrong?

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 meat5000 ♦ · Oct 26, 2013 at 05:14 PM 0
Share

For static objects like scenery use a mesh collider and mark the object as 'static'

avatar image mkjrfan · Oct 26, 2013 at 06:28 PM 0
Share

well I tried that and didn't really seem to do anything.

avatar image meat5000 ♦ · Oct 26, 2013 at 06:30 PM 1
Share

Have you tried a kinematic rigidbody on the box?

1 Reply

  • Sort: 
avatar image
2
Best Answer

Answer by mkjrfan · Oct 26, 2013 at 07:15 PM

Actually I realized what I did wrong was that I checked the constraints on the x,y,z axis on the ridgebody. Thank you for your help!

Comment
Add comment · Show 5 · 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 meat5000 ♦ · Oct 26, 2013 at 07:41 PM 0
Share

Accept your answer :)

avatar image mkjrfan · Oct 26, 2013 at 07:55 PM 0
Share

lol I didn't realized I did that woops

avatar image meat5000 ♦ · Oct 26, 2013 at 08:04 PM 1
Share

I converted to answer so you could accept it :D

Strange bug : In Questions list the box is still blue, not green!

avatar image sdgd · Oct 26, 2013 at 08:20 PM 0
Share

maybe because you closed it

avatar image meat5000 ♦ · Oct 26, 2013 at 08:32 PM 1
Share

I closed after it was accepted :D Proper odd. Ah well another one for the bug list :P

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

How to make camera position relative to a specific target. 1 Answer

Collisions causing Rigidbody to go Haywire and move randomly. 1 Answer

Player object falling through game environment, collision not detected with ground 0 Answers

Moving a Simple Ball [Main Player!] inside a tunnel without gravity! 1 Answer

Player Control Script Makes Movement Buggy? 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