Unity Community


Results 1 to 4 of 4

Thread: Physics issues


  1. Location
    Washington State
    Posts
    83

    Physics issues

    On a side project I have been working on, I have recently been getting on a fairly regular basis some issues with the primary physics object getting stuck inside of other objects. Now I have read in quite a few different postings of increasing the fixed timestep, which I have done, but I seem to still have problems with objects getting stuck inside of each other; shown in example with the image below.



    Through searching the forums, though I may have over looked something, I have yet to find any real and proven solution to the issue. I have tried adding forces in opposite to where the object is getting stuck, but it results with the object being snapped and thrown from the position, even with minimal forces applied over time.

    I have also taken a look at the article in the Wiki of DontGoThroughThings, and this has seemingly done nothing more to the scene then make the primary physics object behave for erratic, stuttering, and unpredictable.

    So if anyone has had this issue before and reached a resolution, or knows of a few good write-ups worth reading, etc. I would greatly appreciate some insight on the matter, thanks in advance!
    Last edited by alex.loren; 05-04-2011 at 01:58 PM.



  2. Location
    Liverpool, UK
    Posts
    793
    Set the minmum penetration before penalty value to 0
    Set iterations to 100
    Use a really low fixed time step as you've mentioned

    Then tweak these values till you get the desired physics behaviour and acceptable performance
    LinkedIn

    Message me for rates and availability.
    Mechabit Ltd


  3. Location
    Washington State
    Posts
    83
    Thank you for pointing out that post, I guess I over looked that post when perusing the thread. I will have to make those changes tomorrow when I am back at my work machine. Thanks again!

    Spinaljack, I will play around with these values a bit more as well to see if I can get the desired results. Thank you as well.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •