Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 12 Next capture
2021 2022 2023
1 capture
12 Jun 22 - 12 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 /
  • Help Room /
avatar image
0
Question by Starhouse · Jun 16, 2016 at 10:41 AM · gameobjectcollider

Third Person Character Collider not working ???

I just got a character from Mixamo and he is playable. But the collider isn't working. He keeps going through objects and only collide with objects having Rigidbody attached and " Is Kinematic " unchecked. Is my third person character controll script missing something ? If it is, anyone could help me with the code ???alt text

collidererror.png (437.6 kB)
Comment
Add comment · Show 1
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 TheNerdyPlane · Jun 16, 2016 at 11:08 AM 0
Share

Have you got a rigid body added to the character?

1 Reply

· Add your reply
  • Sort: 
avatar image
1
Best Answer

Answer by Dibbie · Jun 16, 2016 at 03:56 PM

For collision to happen in Unity, your colliding object (in this case, your player), needs any type of collider, and a Rigidbody, which adds the "physics" to that collider. The object it is colliding with (in this case, your wall) also needs "physics" (so a Rigidbody) and a collider on it for the 2 to actually... Collide. Chances are you are missing one of the 2 on one of those 2 objects.

Other settings may also alter collision - for example, if you have Constraints turned on for Position on any of the 2 objects, it may ignore some collision as well.

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 Starhouse · Jun 18, 2016 at 01:16 AM 0
Share

The problem is I dont want to add Rigidbody on the wall, as it falls down every time my character collides with. I have tried checking " Is $$anonymous$$inematic" or even uncheck" Use Gravity", doesn't help so far. No "Is Trigger" is checked

avatar image Dibbie Starhouse · Jun 18, 2016 at 04:03 PM 0
Share

You could apply Position Constraints on your wall, which may or may not completely work with your movement, depending on how you actually move your character in the game world, but it would stop the collision of the wall tipping over when hitting it - you could also increase the mass much greater than the players so by force, the player couldnt easily knock it over.

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

75 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 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 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 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

Is it possible to make a game object's mesh fit its collider? 1 Answer

Trigger Sets GameObject 0 Answers

Is it possible to make a game object's mesh fit its collider? 1 Answer

All rigidbodies fall through terrain 1 Answer

2D Character Falling Through Ground 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