Page 1 of 1

Transfering Forces

PostPosted: Sun Aug 03, 2008 12:11 am
by Grayham
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.


Code: Select all
     
           +---+
       +-+ |   |
---->  +-+ +---+
Force   A    B


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:

Code: Select all
cpVect f = cpv(1000,0);
cpBodyApplyForce(GetBody(BoxA),f,cpvzero);   


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.