I just found two bugs in the way capsuleShape handles the local scaling.
SetLocalScale tried to remove the margin and re-apply it, not realizing that the margin was already built into m_implicitShapeDimensions.
GJK applied the localScaling twice on the capsule, since the scale was already baked into the implicit shape.
I am attaching the files with the bug fixes in them. Those fixes are based off of Bullet 2.76 which is the version I am working with. My apologies if this has already been fixed. I didn't see any bug fix go by relating to this but you never know.
Capsule Scaling bugs
-
- Posts: 29
- Joined: Tue Oct 05, 2010 9:36 pm
Capsule Scaling bugs
You do not have the required permissions to view the files attached to this post.