Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Help  Does Obi Disregard Convex Mesh Colliders?
#4
(17-08-2020, 09:04 AM)virtushda Wrote: Damn.
Are there any plans to add non-uniform scaling support to SDF colliders?

Thanks either way! Sonrisa

It's a shame, but non-uniform scaling won't ever work with distance fields due to their very nature: they precalculate the distance between all points in the bounding box of an object, and the surface of an object. Essentially, the length of a lot of lines.

So imagine a line of length 10: if you scale the line uniformly in all axes by 50%, it's safe to say its length is also scaled by 50%: 5 instead of 10.
However, if you scale the line 50% in one axis, but only 25% in the other two axes, the above no longer holds true: there's no clear way to determine what the line length is, except for re-calculating it from scratch which completely defeats the purpose of distance fields.  Indeciso
Reply


Messages In This Thread
RE: Does Obi Disregard Convex Mesh Colliders? - by josemendez - 17-08-2020, 09:11 AM