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 /
avatar image
0
Question by Eco-Editor · Oct 24, 2016 at 10:03 PM · collidersboxcolliderfps controllermeshrendererfpc

How come FPS charcter ignores any possible collider?

Hello all,

I'm making a 3D environment with a FPS controller that can move around and has a camera attached to it. For some reason my FPS character can walk through walls and other objects in the environment, even after I've set colliders to these object and to the FPS itself. Nothing seems to help, Nor Mesh collider/box collider/ capsule collider/ mesh renderer nothing is working... It's a mystery.

Taking from tutorials as the one in Merry Fragmas part 1, or Lets try tutorials, they have FPS and it doesn't walk through the walls, how come I have this misfortune?

Would much appreciate your help on this, or if you can suggest other tutorials.

Thank you! alt text

alt text

fpc-inspectorhierarchy.jpg (77.6 kB)
fpcshopper-player.jpg (63.7 kB)
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

3 Replies

· Add your reply
  • Sort: 
avatar image
0

Answer by Crimpox · Oct 24, 2016 at 10:21 PM

Have you got either a rigidbody or character controller on the player.

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 Zitoox · Oct 25, 2016 at 01:54 AM 0
Share

I suppose he have one if he is doing an fps...

avatar image
0

Answer by Eco-Editor · Oct 25, 2016 at 05:34 AM

Hello,

I have both rigidbody and character controller on the FPS player.

Comment
Add comment · Show 4 · 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 Zitoox · Oct 25, 2016 at 02:26 PM 0
Share

Can you show us an image of your character and the collider's details?

avatar image Eco-Editor Zitoox · Oct 25, 2016 at 04:17 PM 0
Share

I'm trying to upload an image but it won't upload. Perhaps the following errors are causing this: Gu::Convex$$anonymous$$esh::loadConvexHull: convex hull init failed! Try to use the PxConvexFlag::eINFLATE_CONVEX flag. (see PxToolkit::createConvex$$anonymous$$eshSafe) UnityEditor.DockArea:OnGUI()

and:

ConvexHullBuilder: convex hull has more than 255 polygons! UnityEditor.DockArea:OnGUI()

How can I upload the image?

avatar image Fourthings Eco-Editor · Oct 25, 2016 at 04:37 PM 0
Share

http://answers.unity3d.com/questions/767418/object-with-more-than-255-polygons-with-mesh-colli.html Sounds like you're using meshes that are too high resolution

Show more comments
avatar image
0

Answer by Silent-Inventors · Oct 26, 2016 at 01:12 PM

https://docs.unity3d.com/ScriptReference/Physics.IgnoreLayerCollision.html check it out

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 Eco-Editor · Oct 26, 2016 at 08:56 PM 0
Share

The colliding issue is resolved. I think the catch was on the script for the FPC, once I took another FPC prefab from "lets try assets" it was resolved but except the cart that is still going through walls, "clipping". The masking layer won't do me any good here, as the cart should not be in the frame all the time. Any suggestions?

Thanks!

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

7 People are following this question.

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

Related Questions

how to make a solid object? 2 Answers

My Colliders Sometimes Works and Sometimes Doesn't 0 Answers

Box Colliders Merging 0 Answers

A script that auto generated the box collider around a 3d model 3 Answers

Resizing dynamically added BoxCollider to encapsulate all child objects' total bounds 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