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 Jul 07, 2014 at 03:47 PM by meat5000 for the following reason:

The question is answered, right answer was accepted

avatar image
0
Question by The-W.A.T.Z.R · May 14, 2014 at 02:01 AM · collidercharactercontrollerchangemeshcolliderreplace

Change Character Controller Collider - to another Collider? (*CCCC+Quest*)

character controller is a capsule collider ... how can i change that to box or cylinder or rigidbody or MESH Cillider or whatever Collider i want ?


I would like to use the Mesh Collider, so I can use the same body shape as my character has in my character Controller instead of this Capsule Cillider.


  • how can you fix it in a simple way?

    how to replace the Capsule CO to Mech CO from my ExP character model


    thanks in advance for your help :)

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

1 Reply

  • Sort: 
avatar image
2
Best Answer

Answer by Bunny83 · May 14, 2014 at 01:10 PM

You simply can't. The CharacterController doesn't use physics itself. The CharacterController is a CapsuleCollider so other physics objects can collider with the CC. The CharacterController itself has it's own collision detection and can't be changed.

If you want to use other shapes you have to use a Rigidbody with an appropriate collider.

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 The-W.A.T.Z.R · May 14, 2014 at 01:25 PM 0
Share

the simpel stuff i want to use is that you can't shoot me between my leggs like you can now whit this Capsule co

avatar image Bunny83 · May 14, 2014 at 02:08 PM 1
Share

If you just want hitboxes, just add them and only raycast against the hitboxes. $$anonymous$$ost games use different colliders for physics / movement as for hitdetection. Just place all your hitbox-colliders on a seperate layer (let's call it "hitboxes") and when you Raycast, use a layermask to only allow hits with the hitboxes layer. IF you use projectiles, make sure you setup the collision-matrix in the physics settings to only allow the wanted collisions.

That's why you should ask specifc and detailed questions and reduce the pointless bolding since that doesn't help at all to understand your problem ;)

Follow this Question

Answers Answers and Comments

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

Related Questions

How do I detect a collision between two colliders? 2 Answers

Collide with Mesh with no Collider? 1 Answer

Character Controller collision box too large? 1 Answer

add camera collision without CharacterController 1 Answer

Stop rigidbody from moving after it falls on another rigidbody 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