Good default for collision margin?

Moguri
Posts: 2
Joined: Fri Oct 30, 2009 6:46 pm

Good default for collision margin?

Post by Moguri »

Somewhere along the line, Blender's default for collision margins on physics objects has been set to 0.0, which causes problems. I think the old default may have been 0.04. However, it would be nice to get a suitable default from users with more experience in Bullet.

So, what is a good default value for collision margins?

Thank you,
Moguri
User avatar
Erwin Coumans
Site Admin
Posts: 4221
Joined: Sun Jun 26, 2005 6:43 pm
Location: California, USA

Re: Good default for collision margin?

Post by Erwin Coumans »

Can you give more details of the problem you face with zero margin? Please attach a zipped .blend file and point to a Blender version that has zero margin.

The default margin of 0.04 for dynamic objects and 0.0 for static (non-moving) triangle meshes should stay it is were. Blender CVS/SVN has history, so it should be easy to track down who made that change, and discuss with him/her to revert it to the original setting.

Thanks,
Erwin
Moguri
Posts: 2
Joined: Fri Oct 30, 2009 6:46 pm

Re: Good default for collision margin?

Post by Moguri »

Details of the problem can be found in this bug report:
https://projects.blender.org/tracker/in ... 9&atid=306

Basically, objects keep getting stuck on edges. I'm not sure when things got changed, but I think it was during 2.5 changes. Also, I tried digging through the SVN history, but things have really gotten shuffled around with 2.5 that it makes finding the original value/who changed it difficult.

The default margin for static and dynamic objects is 0.0 in Blender 2.5.