Skip to content

Problem with extremely large collision hull #192

Answered by jrouwe
DocAce asked this question in Q&A
Discussion options

You must be logged in to vote

Interesting hull you have, it's a nearly flat disc with 4337 points with an interesting pattern in it:

The main thing that fails is that the points are just far enough apart in the Y direction that the 'is this a 2D hull?' check thinks that it is a 3D hull. Then it tries to build a 3D hull but, because all points are nearly coplanar, and because there are so many of them, the hull building fails due to floating point precision problems.

Scaling the hull down doesn't help because it's still nearly but not quite co-planar. If I set the Y coordinate of all points to the same value, the hull building succeeds because then it goes through the 2D path.

I'm wondering if this hull is the intende…

Replies: 2 comments 11 replies

Comment options

You must be logged in to vote
5 replies
@DocAce
Comment options

@DocAce
Comment options

@jrouwe
Comment options

@DocAce
Comment options

@DocAce
Comment options

Comment options

You must be logged in to vote
6 replies
@jrouwe
Comment options

@DocAce
Comment options

@jrouwe
Comment options

@jrouwe
Comment options

@DocAce
Comment options

Answer selected by DocAce
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants