Skip to content

Merge fangzhangmnm's updates#1

Open
mattedicksoncom wants to merge 2 commits intomattedicksoncom:masterfrom
fangzhangmnm:master
Open

Merge fangzhangmnm's updates#1
mattedicksoncom wants to merge 2 commits intomattedicksoncom:masterfrom
fangzhangmnm:master

Conversation

@mattedicksoncom
Copy link
Copy Markdown
Owner

No description provided.

The error of collision of spheres with nonzero shapeOffset with trimesh was fixed.
The error is because one forget to add spherePos-sphereBody.position to r.ni in the edge and triangle cases.
The original method delete the children without triangle belongs to it, but it seems one forgot that, although there may be no triangle belongs to X, there may be triangles belong to X's children!
So I write a recursive algorithm for it to check if its children has any triangles in their descendents, then decide whether to delete them.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants