sasikalar / gamekit

Automatically exported from code.google.com/p/gamekit
0 stars 0 forks source link

Fix for capsule shape #226

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
In my last patch I added suport for the capsule shape. Turns out the dimensions 
weren't right (it was right only for the test I did attach).

Attached is the patch that fixes it and a test file for several capsule sizes. 
The capsule in the middle has a different scale. The size correction is still 
not quite right but better than before. It's probably a bug in btCapsuleShape.

Original issue reported on code.google.com by kungfoobar@gmail.com on 14 Apr 2012 at 9:02

Attachments:

GoogleCodeExporter commented 9 years ago
Thx,...patch applied

Original comment by thomas.t...@googlemail.com on 15 Apr 2012 at 4:49