Is there a 3D object intersection math library that is not a part of a physics framework? I would like to implement object boundaries in my engine and really don't need/want any kind of physics or rigid bodies or anything like that. In essence, I just want to check if two arbitrary positioned (on arbitrary axis etc) boxes intersect. It would be nice if the library had other primitives as well. Does anyone know if there is such a thing out there? Something that just does the math and spits out true or false or an intersection point in a more or less straight forward way (something like "bool isIntersecting(Box b1, Box b2)" ? I've downloaded bullet physics, but there are not even a single tutorial out there about this and it seems like I need about 200 lines of code to set up something similar to that. Or If anybody has these functions already implemented on their engines, would you mind sharing them? (either through github or any other way), I would really appreciate that too. https://ift.tt/eA8V8J
I would like to implement object boundaries in my engine and really don't need/want any kind of physics or rigid bodies or anything like that. In essence, I just want to check if two arbitrary positioned (on arbitrary axis etc) boxes intersect. It would be nice if the library had other primitives as well. Does anyone know if there is such a thing out there? Something that just does the math and spits out true or false or an intersection point in a more or less straight forward way (something like "bool isIntersecting(Box b1, Box b2)" ? I've downloaded bullet physics, but there are not even a single tutorial out there about this and it seems like I need about 200 lines of code to set up something similar to that. Or If anybody has these functions already implemented on their engines, would you mind sharing them? (either through github or any other way), I would really appreciate that too.
from GameDev.net http://bit.ly/2EyJTEI
from GameDev.net http://bit.ly/2EyJTEI
ليست هناك تعليقات