Search found 4 matches

by gsimard
Fri Feb 14, 2014 1:30 am
Forum: General Bullet Physics Support and Feedback
Topic: Rolling cubes stick on their vertices when stopping
Replies: 0
Views: 5030

Rolling cubes stick on their vertices when stopping

Hello, Upfront I need to say I'm using a modified version of jBullet (which is itself based on Bullet 2.72) with double precision enabled. I've basically done a search and replace on every float -> double, Vector3f->Vector3d and etc. I've grepped through the native source code of Bullet to make sure...
by gsimard
Sat Mar 02, 2013 10:47 pm
Forum: General Bullet Physics Support and Feedback
Topic: Point2PointConstraint refuses to move, at all.
Replies: 1
Views: 2258

Re: Point2PointConstraint refuses to move, at all.

Ah, I think I'm unto something. The two objects I'm linking have collision shapes of type BvhTriangleMeshShape which extends TriangleMeshShape, which (rightfully) does not know how to calculate its inertia tensor. public void calculateLocalInertia(float mass, Vector3f inertia) { // moving concave ob...
by gsimard
Sat Mar 02, 2013 4:38 am
Forum: General Bullet Physics Support and Feedback
Topic: Point2PointConstraint refuses to move, at all.
Replies: 1
Views: 2258

Point2PointConstraint refuses to move, at all.

Hello, I'm trying to use a Point2PointConstraint between two objects in my game. For some reason, whenever I do, the objects just get completely stuck. One object is much more massive than the other (1000x). If I understand properly the way Point2PointConstraint is supposed to work, using it with a ...
by gsimard
Fri Mar 01, 2013 5:35 pm
Forum: General Bullet Physics Support and Feedback
Topic: Moving a bunch of contacting bodies, avoiding instabilities
Replies: 0
Views: 2393

Moving a bunch of contacting bodies, avoiding instabilities

Hello, I'm using the java port of Bullet Physics (jBullet) for a game I'm making. I'm trying to move a bunch of bodies by simply calling body.setCenterOfMassTransform with a transform that has been translated (no rotation here) by the same amount for all bodies. Problems occur whenever I try to do t...