-
-
Notifications
You must be signed in to change notification settings - Fork 183
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Two issues from bullet were noticed: - The scaling of capsule failed - An high margin wasn't handled properly for the cylinder part. These two issues were fixed by cleaning the way bullet manages the cone dimensions. First the attribute m_implicitShapeDimensions store the complete half height including the radius of the hemisphere but without the margin. In consideration a function getExtent is implemented to return the height without the radius as the previous getHalfHeight. Secondly setLocalScaling scale the whole height and radius including margin and remove the margin after scale. About margin, the margin isn't anymore removed from height or radius in btConvexShape::localGetSupportVertexWithoutMarginNonVirtual and btCapsuleShape::localGetSupportingVertexWithoutMargin.
- Loading branch information
1 parent
525ca90
commit 0ba9897
Showing
6 changed files
with
43 additions
and
29 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters