pombreda / bullet

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

getAppliedImpulse() returns 0 #761

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
Using a btSolveProjectedGaussSeidel and btMLCPSolver combination instead of the 
btSequentialImpulseConstraintSolver, the function getAppliedImpulse() always 
returns 0.

What version of the product are you using? On what operating system?
version 2.82

Original issue reported on code.google.com by mpillia...@gmail.com on 30 Oct 2013 at 1:00

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
The btSolveProjectedGaussSeidel was mainly written for debugging/testing. It 
should be made clear in the documentation/header file, that there is no benefit 
or reason to use the btSolveProjectedGaussSeidel. It is identical to the 
btSequentialImpulseConstrainSolver,but much slower because it builds the full 
matrix.

I'll solve this bug though.

Original comment by erwin.coumans on 30 Oct 2013 at 3:38

GoogleCodeExporter commented 9 years ago
well, it seems that i should double check before posting here. 
i was changing motor limits instead of changing the motor target, and this is 
why i didn't get the applied impulse. sorry about that.

by the way, thank you for maintaining and improving this library, it truly is 
amazing

Original comment by mpillia...@gmail.com on 30 Oct 2013 at 3:53

GoogleCodeExporter commented 9 years ago

Original comment by erwin.coumans on 1 Nov 2013 at 2:32