When center of mass changes, reapply all constraints referring to this rigidbody, instead of just the constraint in the same scene node. This fixes erroneous constraint offsets at scene load.


git-svn-id: http://urho3d.googlecode.com/svn/trunk@2142 3bd170d8-ddcf-f82c-f583-7a401ccf5608
Applied Bullet 2.81 update patch from amadeus_osa.
Added split impulse & number of constraint solver iteration attributes to PhysicsWorld. Split impulse gives more accurate collision detection but is disabled by default for better performance.



git-svn-id: http://urho3d.googlecode.com/svn/trunk@2143 3bd170d8-ddcf-f82c-f583-7a401ccf5608
Applied Bullet internal edge patch from amadeus_osa.


git-svn-id: http://urho3d.googlecode.com/svn/trunk@2144 3bd170d8-ddcf-f82c-f583-7a401ccf5608
Fixed Constraint.cpp compile error in debug mode.
Code formatting.


git-svn-id: http://urho3d.googlecode.com/svn/trunk@2145 3bd170d8-ddcf-f82c-f583-7a401ccf5608
Clear forces after each physics substep so that rendering framerate doesn't affect code which calls ApplyForce() / ApplyTorque().

git-svn-id: http://urho3d.googlecode.com/svn/trunk@2146 3bd170d8-ddcf-f82c-f583-7a401ccf5608