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
0
Question by ErikWelling · Dec 23, 2014 at 11:30 AM · collisionlagfirst-person-controller

extreme lag upon touching round surfaces

Hi, I made a model of a house in google sketchup and i exported it as an .fbx file and then imported it in unity. Then I added my first person controller and it seemed to work just fine. The collisions with the floor and the walls worked perfect, but as soon as I touched for example the garbage bin it gave me extreme lagspikes with maybe an fps of 1, also every other collision with not just straight surfaces seemed to cause my game to lag. Also as soon as i didn't touch the object anymore the lag stopped instantly.

I couldn't find anyone with the same problem so i am asking it here.

thanks in advance.

Comment
Add comment · Show 5
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 _MGB_ · Dec 23, 2014 at 11:31 AM 0
Share

Are you using a generated mesh collider? They can be very inefficient for meshes with lots of polys. Try generating your own from primitives if so...

avatar image ErikWelling · Dec 23, 2014 at 02:53 PM 0
Share

what exactly are primitives? i can't find it in the manual.

avatar image ErikWelling · Dec 23, 2014 at 02:55 PM 0
Share

and right now i am using the mesh collider that you get when you press "generate colliders" upon drag-and-dropping the model into the scene.

avatar image RedHedZed · Dec 23, 2014 at 05:20 PM 0
Share

I think he's suggesting that you build your own colliders out of simple box/sphere/capsule colliders rather than using mesh colliders that fit the objects perfectly.

Using simple colliders like these is not nearly as hard on your performance. The try giving your garbage bin a simple box collider that approximately fits it, rather than using a mesh collider that perfectly fits it.

avatar image Liam Wilson · Dec 23, 2014 at 06:30 PM 0
Share

I know this is gonna sound dumb but Is your PC or laptop at least 2 GHZ and has about 3 G of RA$$anonymous$$?

0 Replies

· Add your reply
  • Sort: 

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

First person controller Jumping collision detection 0 Answers

First person controller prefab collision 1 Answer

How should I make the projectiles in a fps go straight to the middle of a screen? also, collision problems 1 Answer

Pushing First Person Controller 0 Answers

Reset level when a moving object collides with a player? 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