Search found 48 matches

by bwelch
Mon Mar 03, 2014 2:23 pm
Forum: General Bullet Physics Support and Feedback
Topic: output not shown with bullet physics library
Replies: 10
Views: 9982

Re: output not shown with bullet physics library

Follow this tutorial. It'll get you up and running adding shapes and seeing things move about.

https://www.youtube.com/watch?v=wbu5MdsFYko
by bwelch
Mon Mar 03, 2014 2:18 pm
Forum: General Bullet Physics Support and Feedback
Topic: Using Bullet for air drag and blast waves
Replies: 2
Views: 5342

Re: Using Bullet for air drag and blast waves

Thanks for your response! I'm going to try to tinker with your suggestions and see if they have a level of accuracy high enough for what I'm being asked to do. Unfortunately, what I'm working on is closer to rocket science than gaming, so it might require some tweaking. :)
by bwelch
Thu Feb 27, 2014 9:43 pm
Forum: General Bullet Physics Support and Feedback
Topic: Rotation by pi corrupts vector
Replies: 3
Views: 5235

Re: Rotation by pi corrupts vector

If you want simple, you could just have an if statement where if the value is less than some threshold, set the value to 0.
by bwelch
Wed Feb 26, 2014 7:06 pm
Forum: General Bullet Physics Support and Feedback
Topic: Cannot go under a bridge-like mesh
Replies: 4
Views: 7413

Re: Cannot go under a bridge-like mesh

Not sure if any of this will help you, but they're the first things that came to mind when I read your post. -Is the mesh you're importing only the brown arch part? Could the ground be getting added, too, which might be causing your collisions? -Have you tried dropping the mesh into one of the Bulle...
by bwelch
Tue Feb 25, 2014 7:33 pm
Forum: General Bullet Physics Support and Feedback
Topic: Using Bullet for air drag and blast waves
Replies: 2
Views: 5342

Using Bullet for air drag and blast waves

Hello Bulleteers, I'd like to be able to simulate the physics of an object experiencing the force from a blast. For simple cases, I can just use ApplyForce() to launch an object, but if I want a more accurate representation, I have to consider the fact that the force applied to the object varies ove...
by bwelch
Tue Feb 25, 2014 7:25 pm
Forum: General Bullet Physics Support and Feedback
Topic: configuring bullet library in visual studio 2010
Replies: 3
Views: 4815

Re: configuring bullet library in visual studio 2010

If it can't find the headers, it's a source problem and not a linker problem. Make sure that the directory containing the headers is specified under Additional Include Directories (see the attached screenshot). Hope this helps.
additional directories.jpg
additional directories.jpg (156.76 KiB) Viewed 4786 times
by bwelch
Tue Feb 18, 2014 5:39 pm
Forum: General Bullet Physics Support and Feedback
Topic: Loading a 50k face object as terrain
Replies: 2
Views: 5946

Re: Loading a 50k face object as terrain

I've experimented with using a list of vertices and triangles to create a GImpactshape in Bullet. You may be able to find more info on that via a forum search.
by bwelch
Mon Feb 10, 2014 2:37 pm
Forum: General Bullet Physics Support and Feedback
Topic: Why won't some demos compile?
Replies: 3
Views: 4952

Re: Why won't some demos compile?

Do you have Glut? Those demos didn't build for me either and I assumed it was because I don't have Glut.
by bwelch
Mon Feb 10, 2014 2:34 pm
Forum: General Bullet Physics Support and Feedback
Topic: Simple simulation failed in ODE. Should I use Bullet instead
Replies: 2
Views: 2982

Re: Simple simulation failed in ODE. Should I use Bullet ins

I *think* you should be able to do that pretty simply. Bullet can definitely apply the force the way you want, but the way it deals with friction is a little confusing to me. From what I know, it uses a scale from 0 to 1, where 0 is frictionless and 1 is complete friction. So figuring out how to get...
by bwelch
Mon Feb 10, 2014 2:21 pm
Forum: General Bullet Physics Support and Feedback
Topic: How to have walking character
Replies: 2
Views: 3210

Re: How to have walking character

I saw this when I was checking out the other forum section last week. Maybe it would give you a foundation?

http://www.bulletphysics.org/Bullet/php ... =17&t=7855
by bwelch
Wed Feb 05, 2014 9:15 pm
Forum: General Bullet Physics Support and Feedback
Topic: [SOLVED] gContactAddedCallback and btCollisionObjectWrapper
Replies: 4
Views: 5121

Re: gContactAddedCallback and btCollisionObjectWrapper: erro

You have do do something like this:

Code: Select all

(bulletObject*)obj1->getCollisionObject()->getUserPointer()
by bwelch
Wed Feb 05, 2014 8:27 pm
Forum: General Bullet Physics Support and Feedback
Topic: [SOLVED] gContactAddedCallback and btCollisionObjectWrapper
Replies: 4
Views: 5121

Re: gContactAddedCallback and btCollisionObjectWrapper: erro

I followed the same tutorial and ran into that problem. You have to change bool callbackFunc(btManifoldPoint& cp, const btCollisionObject* obj1, int id1, int index1, const btCollisionObject* obj2, int id2, int index2) to bool callbackFunc(btManifoldPoint& cp, const btCollisionObjectWrapper* ...
by bwelch
Tue Feb 04, 2014 5:27 pm
Forum: General Bullet Physics Support and Feedback
Topic: Rolling spheres turning into zombie spheres
Replies: 7
Views: 11091

Re: Rolling spheres turning into zombie spheres

One thing I'm confused about is do I specify rolling friction onto the sphere or the body the sphere will be rolling on? From what I've read and toyed about with, you have to specify rolling friction on both objects. In the rolling friction demo, they set the friction on the ground shape like: body...
by bwelch
Mon Feb 03, 2014 10:20 pm
Forum: General Bullet Physics Support and Feedback
Topic: Rolling spheres turning into zombie spheres
Replies: 7
Views: 11091

Re: Rolling spheres turning into zombie spheres

Do you use the setAnisotropicRollingFriction() function? I'm still pretty new to Bullet, but I've seen this used where rolling friction is used (like in the rolling friction demo).
by bwelch
Wed Jan 15, 2014 2:13 pm
Forum: General Bullet Physics Support and Feedback
Topic: Door knocked off hinge constraint by collisions
Replies: 18
Views: 18412

Re: Door knocked off hinge constraint by collisions

Can you show us? I'd like to see what worked for you either by screenshot or video and/or code.