How to know the direction of the force measured by a the Contact_Sensor?

and how do you know where the object is with respect to the zero frame?