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
1
Question by $$anonymous$$ · Dec 18, 2014 at 01:14 AM · capsule collider

Why does my Capsule Collider's radius have to be smaller than the height?

Why does my capsule collider's radius have to be smaller than the height? I want to make something really wide, but short and whenever I try to make the radius bigger than the height, the height is reverted to the same size as the radius. How can I make a short, but wide capsule collider?

Another one, as I just found related to, why can't I have 2 capsule colldiers on the same prefab?

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 MrSoad · Dec 18, 2014 at 01:24 AM 0
Share

Are you using physics?

avatar image $$anonymous$$ · Dec 18, 2014 at 01:25 AM 0
Share

I am using a physics component

3 Replies

· Add your reply
  • Sort: 
avatar image
0

Answer by SkaredCreations · Dec 18, 2014 at 01:17 AM

You can assign a different Direction to the capsule collider, and you can also have as many colliders as you like in the same object (not sure if this is a feature of 4.6 or lower).

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 $$anonymous$$ · Dec 18, 2014 at 01:19 AM 0
Share

I added a second collider, but only one of them works (the one higher on the component list)

avatar image
0

Answer by MrSoad · Dec 18, 2014 at 01:28 AM

You could place several sphere colliders as children of the main object in a circle arrangement. The main object(parent) should have the rigidbody on it(none of the child colliders should have rigidbodys on them!). The parent rigidbody will then treat all the child colliders as one. This is called compound colliders, see this link for more info(about half way down the page) :

http://docs.unity3d.com/Manual/class-Rigidbody.html

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 Kiwasi · Dec 18, 2014 at 02:21 AM

Draw a capsule collider by hand. It will be obvious why you can't make it wider then it is high.

By definition a capsule collider is a cylinder with two semi spheres on it. The smallest height this can go to is the width.

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

5 People are following this question.

avatar image avatar image avatar image avatar image avatar image

Related Questions

Starter Asset Capsule gets stuck on corners 0 Answers

Odd Capsule Collider Behavior 0 Answers

My Capsule Collider Seems To 'Drop' During Runtime 0 Answers

Why does this happen to my capsule collider at runtime? 2 Answers

How do you Change the Height of a Capsule Collider in C#? 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