-------------------------------- -- @module PhysicsJointDistance -- @extend PhysicsJoint -- @parent_module cc -------------------------------- -- -- @function [parent=#PhysicsJointDistance] createConstraints -- @param self -- @return bool#bool ret (return value: bool) -------------------------------- -- -- @function [parent=#PhysicsJointDistance] setDistance -- @param self -- @param #float distance -------------------------------- -- -- @function [parent=#PhysicsJointDistance] getDistance -- @param self -- @return float#float ret (return value: float) -------------------------------- -- -- @function [parent=#PhysicsJointDistance] construct -- @param self -- @param #cc.PhysicsBody a -- @param #cc.PhysicsBody b -- @param #vec2_table anchr1 -- @param #vec2_table anchr2 -- @return PhysicsJointDistance#PhysicsJointDistance ret (return value: cc.PhysicsJointDistance) return nil