Search found 48 matches
- Tue Jun 24, 2014 2:16 pm
- Forum: General Bullet Physics Support and Feedback
- Topic: [JBULLET] Axes on BTGeneric6DofConstraint and lock/unlock ?
- Replies: 23
- Views: 22965
Re: Set the axes on BTGeneric6DofConstraint and lock/unlock
I was very confused when learning constraints as well due to the FrameInA and FrameInB stuff. If you do a forum search there are a few threads that go into detail about them, but really as these other guys have said, the ConstraintDemo is the best place to go to learn. I suggest starting with a hing...
- Tue May 27, 2014 6:48 pm
- Forum: General Bullet Physics Support and Feedback
- Topic: Dynamic surface friction
- Replies: 1
- Views: 3512
Re: Dynamic surface friction
So without knowing any of the details of your setup and being pretty much a beginner to Bullet, I probably can't be of much help, but my kneejerk reaction is that for each wheel (or other object that you expect to undergo dynamic friction), you check the material of the surface that the rigid body i...
- Tue May 27, 2014 6:40 pm
- Forum: General Bullet Physics Support and Feedback
- Topic: Complete Newbie
- Replies: 7
- Views: 7005
Re: Complete Newbie
Definitely check out the demos and manual as stated above. You might also want to check out these videos. They can be a bit difficult to understand at times, but I found them useful for learning some basics of Bullet.
https://www.youtube.com/watch?v=wbu5MdsFYko
https://www.youtube.com/watch?v=wbu5MdsFYko
- Thu May 08, 2014 2:02 pm
- Forum: General Bullet Physics Support and Feedback
- Topic: error during building sources
- Replies: 8
- Views: 9465
Re: error during building sources
I installed freeglut a few months ago out of curiosity because I wanted to see the ForkLiftDemo work. I don't need glut with Bullet for my purposes, so I'm afraid I don't remember the details of the setup. But upon examining my file structure, it looks like I have freeglut installed right on my C: d...
- Mon May 05, 2014 7:55 pm
- Forum: General Bullet Physics Support and Feedback
- Topic: Debug draw Aabbs moving in a different direction
- Replies: 4
- Views: 7146
Re: Debug draw Aabbs moving in a different direction
Did you check to see if your display uses the same axes as Bullet? In Bullet, the vertical axis is Y by default. If you got Y and Z mixed up, it could cause this sort of problem.
- Fri Apr 18, 2014 2:14 pm
- Forum: General Bullet Physics Support and Feedback
- Topic: RayTest simple issue
- Replies: 4
- Views: 5387
Re: RayTest simple issue
I believe a "clear" quaternion would be btQuaternion(0,0,0,1), not btQuaternion(0,0,0,0).
- Fri Apr 18, 2014 2:03 pm
- Forum: General Bullet Physics Support and Feedback
- Topic: Isolating vertex of rigid body cube
- Replies: 2
- Views: 4632
Re: Isolating vertex of rigid body cube
Seems like there would be an easy way to grab that from Bullet, but I don't know of a way. If you know the dimensions of the cube, you can get the position of the cube and the orientation and use those to determine the vertices, I suppose.
- Fri Apr 18, 2014 1:42 pm
- Forum: General Bullet Physics Support and Feedback
- Topic: Where to start
- Replies: 6
- Views: 6676
Re: Where to start
This tutorial series was the most helpful in getting me on my way to learning the basics, along with the demos, of course.
https://www.youtube.com/watch?v=wbu5MdsFYko
https://www.youtube.com/watch?v=wbu5MdsFYko
- Fri Apr 18, 2014 1:39 pm
- Forum: General Bullet Physics Support and Feedback
- Topic: Ball Physics not working as expected
- Replies: 2
- Views: 4562
Re: Ball Physics not working as expected
For some reason your plot isn't showing for me. Anyway, I'm not sure if this will do anything for you, but IIRC there's a line in the demo about anisotropic rolling friction. Maybe try commenting that out?
- Fri Apr 18, 2014 1:25 pm
- Forum: General Bullet Physics Support and Feedback
- Topic: error during building sources
- Replies: 8
- Views: 9465
Re: error during building sources
You don't *need* glut to build many of the demos. You probably left the Use Glut box checked when you didn't have it. You can either re-build and leave the box unchecked, or get freeglut.
- Tue Apr 01, 2014 4:27 pm
- Forum: General Bullet Physics Support and Feedback
- Topic: [Solved] Accessing the world via a rigid body
- Replies: 1
- Views: 3187
Re: Accessing the world via a rigid body
I managed to figure out a way to access the world, and it turns out it was easy. It was more of a C++ thing than a Bullet thing. In my case, Bullet lives in a separate class called BulletPlugin, so I was able to access the world by using BulletPlugin::world. No need to go through the rigidbody to ge...
- Tue Apr 01, 2014 3:46 pm
- Forum: General Bullet Physics Support and Feedback
- Topic: [Solved] Accessing the world via a rigid body
- Replies: 1
- Views: 3187
[Solved] Accessing the world via a rigid body
Hi everyone. I have what I think is an easy question, but I can't seem to find a solution. Is it possible to get a pointer to the world that a rigid body lives in from that rigid body? I was looking for something like rigidbody->getWorld() but there doesn't seem to be anything like that. In my proje...
- Fri Mar 28, 2014 1:31 pm
- Forum: General Bullet Physics Support and Feedback
- Topic: applyCentralImpulse bug
- Replies: 2
- Views: 3948
Re: applyCentralImpulse bug
Is your box activated? If it's stationary for a while, Bullet will deactivate it and it won't be moved even if you apply an impulse to it. Try doing rigidBody->setActivationState(DISABLE_DEACTIVATION).
- Mon Mar 10, 2014 9:22 pm
- Forum: General Bullet Physics Support and Feedback
- Topic: Restarting the Simulation?
- Replies: 2
- Views: 3553
Re: Restarting the Simulation?
I guess it depends on how you're using Bullet. I believe in many of the demos, they use an InitPhysics() and ExitPhysics() function, and I think spacebar is tied to them to reset the simulation. You might want to check there for inspiration.
- Mon Mar 03, 2014 3:43 pm
- Forum: General Bullet Physics Support and Feedback
- Topic: output not shown with bullet physics library
- Replies: 10
- Views: 9989
Re: output not shown with bullet physics library
even I tried with the code of Helloworld from this site http://bulletphysics.org/mediawiki-1.5.8/index.php/Hello_World but the output window blinks and disappears. Try putting int x; std::cin >> x; somewhere after the output is supposed to display. It'll prevent the output window from disappearing ...