Search found 5 matches

by freikorps
Wed Nov 10, 2010 3:51 am
Forum: Research and development discussion about Collision Detection and Physics Simulation
Topic: problem on tick callbacks
Replies: 0
Views: 2001

problem on tick callbacks

When trying to use the callback function, I followed the code in the tutorial like this: my header file: ......... void myTickCallback(btDynamicsWorld *world, btScalar timeStep); ......... my cpp file: FrokLiftDemo::myTickCallback(btDynamicsWorld *world, btScalar timeStep) { printf(“The world just t...
by freikorps
Wed Nov 03, 2010 3:09 am
Forum: Research and development discussion about Collision Detection and Physics Simulation
Topic: problem on hinge constraint
Replies: 1
Views: 2520

Re: problem on hinge constraint

problem solved.
I had mis-configured the parameters of the positions in the btHingeConstraint function. the two constraints were set to the same end of the shaft, after changing it to the opposite end, it works well.

thanks for your attention.
by freikorps
Tue Nov 02, 2010 3:37 pm
Forum: Research and development discussion about Collision Detection and Physics Simulation
Topic: problem on hinge constraint
Replies: 1
Views: 2520

problem on hinge constraint

I want to build a robot like this: http://www.youtube.com/watch?v=SI8MhZ_UiPI I started from building one part of the whole robot like the picture in the attachment. and I want the two cubic-like bodies to rotate around the edges of the plane. I use btHingeConstraint to achieve this, when each of th...
by freikorps
Wed Oct 20, 2010 2:16 am
Forum: General Bullet Physics Support and Feedback
Topic: what does the third parameter in btCylinderShape mean?
Replies: 3
Views: 4732

Re: what does the third parameter in btCylinderShape mean?

But when I set the two radius with different number, the cylinder still has a round shape but eclipse, and when the third parameter is set to be very large, the cylinder is acting very hard to move, and when it is below zero, the cylinder can go through the floor, :? do I have to read the resource c...
by freikorps
Tue Oct 19, 2010 6:43 am
Forum: General Bullet Physics Support and Feedback
Topic: what does the third parameter in btCylinderShape mean?
Replies: 3
Views: 4732

what does the third parameter in btCylinderShape mean?

In the API reference, it is says that all the parameters are half extents, but due to my test, the first is the width and the second is the radius, but I still don't know what the third parameter means, does anyone know how can I find out the exact meaning of each parameter of the functions in bulle...