yyyy3531614 / bullet

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

btHingeConstraint issues #375

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Just found a couple of issues using the btHingeConstraint

 - the debug drawing of the hinge arc was done in the wrong direction
 - setAxis was calculating BFrame origin wrongly

Attached the patch to fix both these issues

Francois

Original issue reported on code.google.com by francois...@gmail.com on 8 Apr 2010 at 5:27

Attachments:

GoogleCodeExporter commented 9 years ago
The debug drawing seems to be just fine in the ConstraintDemo
(disable the #define ENABLE_ALL_DEMOS and enable only the { // create a door 
using hinge constraint attached to the world around line 318.

The setAxis part was fixed in the past.

Let's close the issue, and please re-open if you can reproduce a wrong debug 
drawing of a constraint.

Thanks!

Original comment by erwin.coumans on 12 Sep 2013 at 9:49