Transfering Forces

Official forum for the Chipmunk2D Physics Library.
Post Reply
Grayham
Posts: 1
Joined: Sat Aug 02, 2008 11:37 pm
Contact:

Transfering Forces

Post 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.
Post Reply

Who is online

Users browsing this forum: No registered users and 21 guests