Transfering Forces
Posted: Sun Aug 03, 2008 12:11 am
Hi, I recently downloaded this library and have been getting some great use out of it. One thing I noticed though is that if you apply a force on an object that would push it into another object, it appears as if the force isn't transfered through the first object. See ASCII picture below.
No matter how big the force is 'B' will not budge (unless you give 'A', a "running start" so that it generates an impulse). There seems to be no force transfered. I'm applying my force like:
Any help?
EDIT: Nevermind... apparently this occurs when the coeffecient of friction of the floor is 1 and both objects have a u of 0.5. The object that gets the force applied to it will still slide, but will not move transfer forces.
Code: Select all
+---+
+-+ | |
----> +-+ +---+
Force A B
Code: Select all
cpVect f = cpv(1000,0);
cpBodyApplyForce(GetBody(BoxA),f,cpvzero);
EDIT: Nevermind... apparently this occurs when the coeffecient of friction of the floor is 1 and both objects have a u of 0.5. The object that gets the force applied to it will still slide, but will not move transfer forces.