Search found 168 matches

by Dr.Shepherd
Mon Dec 12, 2011 3:20 am
Forum: Research and development discussion about Collision Detection and Physics Simulation
Topic: Building bullet in windows with MinGW
Replies: 3
Views: 6417

Re: Building bullet in windows with MinGW

Great to hear that ! And hope you would enjoy linux as well.

Cheers !
by Dr.Shepherd
Sun Dec 11, 2011 11:00 am
Forum: Research and development discussion about Collision Detection and Physics Simulation
Topic: Building a powered robot model using bullet physics
Replies: 1
Views: 4574

Re: Building a powered robot model using bullet physics

Hi I'm new to bullet physics. I want to build a model of a robot (a salamander) to simulate how fast it can cawl. The input I have is the angles and angular speed of joints on the robot output from MATLAB. I'm not sure if I can build a powered robot system in bullet physics since all the demos are ...
by Dr.Shepherd
Sun Dec 11, 2011 10:57 am
Forum: General Bullet Physics Support and Feedback
Topic: On the fly sticky constraint unstable.
Replies: 51
Views: 55106

Re: On the fly sticky constraint unstable.

I think you may want to look into CFM/ERP, as is explained by Yann in the following post:

http://bulletphysics.org/Bullet/phpBB3/ ... f=9&t=6792

The softness of the constraint is also possible for your problem.
by Dr.Shepherd
Sat Dec 10, 2011 2:02 pm
Forum: Research and development discussion about Collision Detection and Physics Simulation
Topic: Building bullet in windows with MinGW
Replies: 3
Views: 6417

Re: Building bullet in windows with MinGW

Hi! I'm new here. I want to use bullet in my project and I want to compile it with MinGW. But when i use cmake, it shows an error that it can't find GLUT. how can i fix it? I want to use demos to learn bullet, I think Glut is needed for compiling demos. Thank you. I have moved to linux for sometime...
by Dr.Shepherd
Thu Dec 08, 2011 9:57 am
Forum: General Bullet Physics Support and Feedback
Topic: locking movement to a plane
Replies: 4
Views: 7574

Re: locking movement to a plane

I think if you still want to try Generic Constraint, you have to set up like this: pGen6DOF->setLinearLowerLimit(btVector3(-1000., -1000., 0.)); pGen6DOF->setLinearUpperLimit(btVector3(1000., 1000., 0.)); The code means your constraints are limited into a large flat bounding box, which can be viewed...
by Dr.Shepherd
Tue Dec 06, 2011 3:55 pm
Forum: Applications, Games, Demos or Movies using Bullet
Topic: Ultimate Stuntman 02
Replies: 2
Views: 7626

Re: Ultimate Stuntman 02

The pictures looks awesome, how long does it take you to do the modelling ?
by Dr.Shepherd
Mon Dec 05, 2011 4:21 pm
Forum: Physics authoring tools, serialization, standards and related topics
Topic: Can't Move rigid body / Apply force
Replies: 3
Views: 12748

Re: Can't Move rigid body / Apply force

btDynamicsWorld::stepSimulation( btScalar timeStep, int maxSubSteps=1, btScalar fixedTimeStep=btScalar(1.)/btScalar(60.)); If you pass a very large timeStep as the first parameter [say, five times the size of the fixed internal time step], then you must increase the number of maxSubSteps to compens...
by Dr.Shepherd
Sat Dec 03, 2011 4:13 pm
Forum: Physics authoring tools, serialization, standards and related topics
Topic: Can't Move rigid body / Apply force
Replies: 3
Views: 12748

Re: Can't Move rigid body / Apply force

Hi, I have bullet correctly initialized and have 200 sphere who collide, all works fine but when i want apply force to a rigid body he doesn't do anything or if i use translate( vec3 ) on a simple sphere on a plane, he moves but don't update his position with gravity. Do I have forget something ? T...
by Dr.Shepherd
Sat Dec 03, 2011 4:11 pm
Forum: General Bullet Physics Support and Feedback
Topic: Contact point lifetime
Replies: 2
Views: 5093

Re: Contact point lifetime

I'm looking for confirmation/clarification of how I think manifold contact points work. From testing and from what I've read, it seems that a manifold (btPersistentManifold) is created for 2 bodies as long as their aabb's overlap. I also understand that if the manifold has no contact points, the ac...
by Dr.Shepherd
Fri Nov 25, 2011 3:04 pm
Forum: General Bullet Physics Support and Feedback
Topic: Collision questions.
Replies: 11
Views: 7578

Re: Collision questions.

Yes, but I wanted to understand in which cases a collision pair (or, better, different collision pairs) with the same two collision objects can appear more than once in the contact manifolds (can it happen only if at least one of them is compound shaped?). Have you understood what I mean? This info...
by Dr.Shepherd
Thu Nov 24, 2011 10:39 am
Forum: Research and development discussion about Collision Detection and Physics Simulation
Topic: How to detect that which collider in collide...
Replies: 5
Views: 7219

Re: How to detect that which collider in collide...

btCollisionObject* obA = static_cast<btCollisionObject*>(contactManifold->getBody0()); btCollisionObject* obB = static_cast<btCollisionObject*>(contactManifold->getBody1()); What I do is to check which object it is. I suppose "Custom collision filtering" is another possible solution, but ...
by Dr.Shepherd
Tue Nov 22, 2011 3:37 pm
Forum: General Bullet Physics Support and Feedback
Topic: Collision questions.
Replies: 11
Views: 7578

Re: Collision questions.

As far as I know there can be as many as 4 contact points per contact between two collision shapes Just to be check if my previous understanding is the same as you. A collision pair can have several collision manifold, while each manifold can only contain maximum 4 points. If it is wrong, could any...
by Dr.Shepherd
Tue Nov 22, 2011 1:40 pm
Forum: General Bullet Physics Support and Feedback
Topic: Collision questions.
Replies: 11
Views: 7578

Re: Collision questions.

Does it mean that you only keep 1 manifold for per collision pair? Yes and no. I have my own collision reporting system I've built on top of bullet. The internal manifolds are preserved, I don't mess around with that because well...that wouldn't work. But I only create a new collision "report&...
by Dr.Shepherd
Mon Nov 21, 2011 11:45 am
Forum: General Bullet Physics Support and Feedback
Topic: Collision questions.
Replies: 11
Views: 7578

Re: Collision questions.

After I initially posted I realized I kinda do have a way of addressing it which is what you are getting at. I do not recommend this way (which is why I posted) but currently I have a class that stores a pair of objects and another class that stores collision data. When a manifold is made I make th...
by Dr.Shepherd
Mon Nov 21, 2011 11:40 am
Forum: General Bullet Physics Support and Feedback
Topic: Collision questions.
Replies: 11
Views: 7578

Re: Collision questions.

Thanks Dr.Shepherd! So if I was only interested if two objects collided once, whats is the proposed way of ignoring the extra manifolds? If you are specifically focusing on two objects, or one objects with some other objects, you may look into the btGhostObject. Collisionflags would be helpful as w...