Search found 6 matches
- Wed Mar 23, 2011 8:39 pm
- Forum: General Bullet Physics Support and Feedback
- Topic: How would you simulate a RigidBody that is lighter than air?
- Replies: 1
- Views: 2694
How would you simulate a RigidBody that is lighter than air?
Is there any neat way to simulate RigidBodies that should float? Right now I'm applying different gravity vector to every object that I want to be floating. Is there any other way?
- Tue Mar 22, 2011 9:38 pm
- Forum: General Bullet Physics Support and Feedback
- Topic: Implementing JBullet into Java Games
- Replies: 7
- Views: 7247
Re: Implementing JBullet into Java Games
Bah! It took me fucking 5 days of debugging to finally notice that mesh.numTriangles should be actually number of triangles -1.
- Tue Mar 22, 2011 10:46 am
- Forum: General Bullet Physics Support and Feedback
- Topic: Java port of Bullet
- Replies: 125
- Views: 1167844
Re: Java port of Bullet
@JumperBR
Well, you could just scale your world down. Quite simple.
Well, you could just scale your world down. Quite simple.
- Tue Mar 22, 2011 9:58 am
- Forum: General Bullet Physics Support and Feedback
- Topic: Implementing JBullet into Java Games
- Replies: 7
- Views: 7247
Re: Implementing JBullet into Java Games
Did anyone successfully simulated terrain in JBullet? How may vertices were you able to simulate with satisfying results? What shape did you use? Are there any optimizations i could do? Please, give some code snippet. Edit: One more question: Is the order in which I add points to ConvexHull shape im...
- Sun Mar 20, 2011 9:57 pm
- Forum: General Bullet Physics Support and Feedback
- Topic: Java port of Bullet
- Replies: 125
- Views: 1167844
Re: Java port of Bullet
Ok, i got it working triangle stride should be 3 points, and vert stride 1 point. But I have another problem - simulation works as ConvexHullShape and also BvhTriangleMeshShape, but both are EXTREMELY SLOW. I reduced my mesh to 15682 polygons, and 7983 vertices, which is absolutely unacceptable, and...
- Sun Mar 20, 2011 7:16 pm
- Forum: General Bullet Physics Support and Feedback
- Topic: Java port of Bullet
- Replies: 125
- Views: 1167844
Re: Java port of Bullet
Hi, could anyone post a snippet of a code on how to use TriangleMesh in JBullet? From what I see it's a lot different than original Bullet. I'm just trying to construct a simple static terrain mesh. I have no idea how to do that - ConvexHull works, but of course terribly slow ( terrain has something...