refactor - gravity, twoway, motion, GroundAttach, GroundDetect, Abstract intersect, Crafty.math.Vector3D, Crafty.defineField