Search found 168 matches

by Dr.Shepherd
Sun Dec 18, 2011 10:03 am
Forum: General Bullet Physics Support and Feedback
Topic: On the fly sticky constraint unstable.
Replies: 51
Views: 55169

Re: On the fly sticky constraint unstable.

If this help: this issue also happen to me, and only customized things I have are: - world scaled by 64, so sphere with radius 64 corresponds to the sphere with radius 1 while normal usage of bullet - simulation locked to pure 2d setLinearFactor(1,1,0) and setAnguarFactor(0,0,1) have you done any o...
by Dr.Shepherd
Sun Dec 18, 2011 10:02 am
Forum: General Bullet Physics Support and Feedback
Topic: On the fly sticky constraint unstable.
Replies: 51
Views: 55169

Re: On the fly sticky constraint unstable.

If you initialize the GenericConstraint, you need to specify two rigid objects, how did you do that ? I get all the information for the constraint from the btPersistentManifold for the two objects. I have a somewhat complicated collision reporting system built around the construction and destructio...
by Dr.Shepherd
Sat Dec 17, 2011 7:14 pm
Forum: General Bullet Physics Support and Feedback
Topic: On the fly sticky constraint unstable.
Replies: 51
Views: 55169

Re: On the fly sticky constraint unstable.

Mako_energy02 wrote:The tray is a single rigid body, but it does have a compound shape composed of a few boxes.
I would doubt whether this is the root for this problem. If you initialize the GenericConstraint, you need to specify two rigid objects, how did you do that ?
by Dr.Shepherd
Sat Dec 17, 2011 9:32 am
Forum: General Bullet Physics Support and Feedback
Topic: On the fly sticky constraint unstable.
Replies: 51
Views: 55169

Re: On the fly sticky constraint unstable.

Mako_energy02 wrote: As for your suggested test of removing all but one tray, I did that and the result was the same, it's still quite erratic and unstable.
Is your tray composed of several objects ?
by Dr.Shepherd
Fri Dec 16, 2011 4:48 pm
Forum: General Bullet Physics Support and Feedback
Topic: On the fly sticky constraint unstable.
Replies: 51
Views: 55169

Re: On the fly sticky constraint unstable.

gosh, you went through a lot of tests...This is really not easy, =)

This afternoon, I just solved a bug in my program, and before that, loads of tests are carried out as well. and that turned out to be a verrrrrrry silly reason.

So dude, keep up !
by Dr.Shepherd
Fri Dec 16, 2011 10:42 am
Forum: General Bullet Physics Support and Feedback
Topic: On the fly sticky constraint unstable.
Replies: 51
Views: 55169

Re: On the fly sticky constraint unstable.

OK, after reviewing the video, I found something, and let's see if you agree to them. 1. When the system is not behaving wildly, the objects rotate seemingly normal. So I suppose it would not be problem for simulation steps. 2. Only the trays with the "Green stones" rotate incorrectly, the...
by Dr.Shepherd
Thu Dec 15, 2011 9:05 pm
Forum: General Bullet Physics Support and Feedback
Topic: On the fly sticky constraint unstable.
Replies: 51
Views: 55169

Re: On the fly sticky constraint unstable.

First, thanks for sticking with this and helping me out. The issue is that if you look carefully after the collision and the object sticks...the tray will spin excessively, with more energy then the collision really had and it will keep on spinning aggressively often with such force to move the ent...
by Dr.Shepherd
Thu Dec 15, 2011 11:56 am
Forum: General Bullet Physics Support and Feedback
Topic: On the fly sticky constraint unstable.
Replies: 51
Views: 55169

Re: On the fly sticky constraint unstable.

Sorry for the delay, but it takes me some time to absorb the information.

Still, I don't quite understand what's wrong in your video. Your game is already there, and I don't know what's happening inside the game. Should you point exactly out the point in the video when the problem occurs?
by Dr.Shepherd
Tue Dec 13, 2011 9:55 am
Forum: General Bullet Physics Support and Feedback
Topic: On the fly sticky constraint unstable.
Replies: 51
Views: 55169

Re: On the fly sticky constraint unstable.

Post your following code here, and let's see the parameters in this function:

Code: Select all

    m_dynamicsWorld->stepSimulation(..., ...,  ....);
by Dr.Shepherd
Mon Dec 12, 2011 11:07 pm
Forum: General Bullet Physics Support and Feedback
Topic: On the fly sticky constraint unstable.
Replies: 51
Views: 55169

Re: On the fly sticky constraint unstable.

Yann wrote:Just thinking about another clue: are you completely sure you initialized the constraint with the correct frame values ? That may be a potential responsible for this behavior too.
Actually, I would agree to Yann that this might be a possible reason for your problem.
by Dr.Shepherd
Mon Dec 12, 2011 11:05 pm
Forum: General Bullet Physics Support and Feedback
Topic: Multibody System Simulation?
Replies: 4
Views: 4440

Re: Multibody System Simulation?

I suppose it is all right. Just continue your work and ignore these warnings. glu/glut library are needed for Bullet Demos.

Anyone please correct me if I am wrong because I am not expertise in programming.
by Dr.Shepherd
Mon Dec 12, 2011 5:51 pm
Forum: General Bullet Physics Support and Feedback
Topic: Multibody System Simulation?
Replies: 4
Views: 4440

Re: Multibody System Simulation?

I don't know if bullet and vtk will work together. they should be ok.

As to the other requirements, Bullet should be able to handle that.
by Dr.Shepherd
Mon Dec 12, 2011 5:35 pm
Forum: General Bullet Physics Support and Feedback
Topic: On the fly sticky constraint unstable.
Replies: 51
Views: 55169

Re: On the fly sticky constraint unstable.

Ok, it indeed seems quite werid. I am lost as well. How about attaching your code here if possible ? This seems to be the only way to know what's happening in your problem.

@Yann:
Come on, dude, any suggestion ?
by Dr.Shepherd
Mon Dec 12, 2011 10:16 am
Forum: General Bullet Physics Support and Feedback
Topic: On the fly sticky constraint unstable.
Replies: 51
Views: 55169

Re: On the fly sticky constraint unstable.

Would you please post the reference here ? I didn't find the reference saying that its default is 0, perhaps I missed out something. In the post, Yann says the default ERP is 0.2, but he didn't mention the default value for CFM.

Cheers !
by Dr.Shepherd
Mon Dec 12, 2011 3:24 am
Forum: General Bullet Physics Support and Feedback
Topic: On the fly sticky constraint unstable.
Replies: 51
Views: 55169

Re: On the fly sticky constraint unstable.

Thanks for the tip. I tried to adjust the CFM based on what was said in that forum post to "0.15" and that has helped somewhat but it doesn't eliminate the behavior. They still seem to behaving as if the objects are colliding and pushing each other apart, just the thrown object can be for...