I changed the definition for bool BuildEdgePlane( const dVector3 s0, const dVector3 s1, const dVector3 normal, dVector3 plane_normal, dReal & plane_dist) from "float" -> "dReal & plane_dist", so it will work with doubles. Dont know if it works with GIMPACT and its lack of double-support. Anyone? Patrick