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
1
Question by jimbobuk · Feb 23, 2010 at 11:46 PM · physicsiphoneperformance

Physics performance still effected by proximity even though IgnoreCollisions called and objects never interact

Hi,

I have a model made up of a dynamic moving physics part and the rest static physics parts. The different parts are effectively touching.

I've tried different things, initially i had the dynamic part without a rigidbody, and just used the transform to cause it to move.

I've hit performance issues on an original iPhone and started profiling it.

Someone recommended that you should always use rigidbodies, so I added an RB, made it kinematic and used it to move the object instead. This massively reduced my fixedupdate profiled time, but just moved it and more time onto the physx part.

I just had an idea and tried moving dynamic part away from the static parts and noticed that the framerate is much improved.

I figured that it was perhaps due to the collisions being detected between the static meshes and the dynamic mesh. Though this didn't make too much sense when the dynamic object had NO rigidbody.

Anyway, i've just setup ignore collision calls in the start function of the object's script to make the dynamic part ignore the static parts.

This sadly hasn't helped performance, with or without an RB. Yet again, moving the dynamic object away from the static ones makes the performance decrease.

I'm presuming something is happening with the spatial arrangement of all the meshes together, that seperating them enough allows proper islands to form and stop things being so expensive.

Is there anything else i can do? Its a bit frustrating that physics is so expensive even though i actually don't want these entities interacting with one another, i just want the physics interacting with another dynamic entity which i haven't introduced into the scene at this point.

Thanks for your help

Comment
Add comment · Show 3
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 Motionreactor · Feb 24, 2010 at 03:37 AM 0
Share

Could you perhaps post a screenshot and label the parts for us? Your setup is hard to visualise.

avatar image jimbobuk · Feb 24, 2010 at 07:15 PM 0
Share

thanks. If i get no joy i will do. I posted another question following the performance investigation going in a different direction. I need to sort through it all properly to really see what's going off.

avatar image Herman-Tulleken · May 26, 2011 at 03:37 PM 0
Share

@jimbobuk Did you ever figure this out?

1 Reply

· Add your reply
  • Sort: 
avatar image
0

Answer by Aubrey-Falconer · Feb 24, 2010 at 03:17 AM

Have you looked into Rigidbody sleeping?

http://unity3d.com/support/documentation/Components/RigidbodySleeping.html

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 jimbobuk · Feb 24, 2010 at 07:15 PM 0
Share

at the point the performance is hit there isn't any rigidbodies in the scene. After adding a single RB to the scene i don't want this to sleep. It's always moving.

Thanks though

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

No one has followed this question yet.

Related Questions

performance issue on iphone 1 Answer

[C#] Game runs oddly slow 2 Answers

CPU-GPU game loop planification 0 Answers

iPhone 4S performance issues 6 Answers

Why my App size increases four times after playing on Ios 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