Page 1 of 1

How precision of object in bepu

Posted: Fri Feb 28, 2020 8:03 am
by parapoohda
I try to make a pizza shape with height by combine hull with a cylinder(If the angle is less than 90 degrees). But it seem hull sometime bigger some time smaller. So is it because bepu is round up number?

Re: How precision of object in bepu

Posted: Fri Feb 28, 2020 7:48 pm
by Norbo
In v2, collision detection is as close to the shape definition as numerically feasible. Some 'rounding' will be done in the sense that single precision floating point numbers have finite precision, but if you're working at scales of about 1 unit, the resulting errors would be significantly less than 1e-5.

v1 had collision margins which made things a little less obvious, but v2 doesn't have those.

Re: How precision of object in bepu

Posted: Sat Feb 29, 2020 3:59 am
by parapoohda
Maybe it was because of other reasons. Because in range 1 - 10 its difference is more than 0.1f.
Thank you. :):)