tower120 Posted August 25, 2020 Share Posted August 25, 2020 (edited) unigine_project.world - UnigineEditor - 2.12.0.2 (DX11) 2020-08-25 16-49-05_Trim.mp4 Two rigid bodies does not collide as expected. See attached project file. Version 2.12.0.2 temp.zip Edited August 25, 2020 by tower120 Link to comment
david.cambre Posted August 25, 2020 Share Posted August 25, 2020 Are you using box collision shapes? try adding using box and 4 spheres Link to comment
tower120 Posted August 26, 2020 Author Share Posted August 26, 2020 Yes, I'm using box collision shapes. Why "box and 4 spheres" should help? Link to comment
david.cambre Posted August 26, 2020 Share Posted August 26, 2020 I had a similar problem The spheres give continues collision detection https://developer.unigine.com/en/docs/2.12/principles/physics/collision/?rlang=cpp#discrete_continuous https://developer.unigine.com/en/docs/2.12/principles/physics/shapes/?rlang=cpp#sphere Link to comment
tower120 Posted August 26, 2020 Author Share Posted August 26, 2020 (edited) CCD (continues collision detection) should not be necessary in this current case. Object velocity is low, and collided objects are big enough to prevent tunneling. And it is clearly visible that boxes does interact with each other. Edited August 26, 2020 by tower120 Link to comment
david.cambre Posted August 26, 2020 Share Posted August 26, 2020 I think it is due to the speed of gravity Link to comment
silent Posted August 26, 2020 Share Posted August 26, 2020 tower120 Thank you for the test scene! We've successfully reproduced this behavior in 2.12.x. It's a bug in the physics calculation when Immovable option enabled in Body settings. Right now there is no way to make physics work correctly with Immovable objects. We will fix this in the upcoming SDK update. 1 How to submit a good bug report --- FTP server for test scenes and user uploads: ftp://files.unigine.com user: upload password: 6xYkd6vLYWjpW6SN Link to comment
tower120 Posted August 26, 2020 Author Share Posted August 26, 2020 Thanks. I'll look forward to that! Link to comment
Recommended Posts