def apply_force(self, f, r): """Apply (accumulate) the force f on body with offset r. Both f and r should be in world coordinates. f : (x,y) or `Vec2d` Force in world coordinates r : (x,y) or `Vec2d` Offset in world coordinates """ cp.cpBodyApplyForce(self._body, f, r)
def apply_force(self, f, r): """Apply (accumulate) the force f on body with offset r. Both f and r should be in world coordinates.""" cp.cpBodyApplyForce(self._body, f, r)