axmol/cocos/scripting/lua-bindings/auto/api/PhysicsJoint.lua

84 lines
2.2 KiB
Lua
Raw Normal View History

2014-03-10 14:04:58 +08:00
--------------------------------
-- @module PhysicsJoint
-- @parent_module cc
2014-03-10 14:04:58 +08:00
--------------------------------
--
2014-03-10 14:04:58 +08:00
-- @function [parent=#PhysicsJoint] getBodyA
-- @param self
-- @return PhysicsBody#PhysicsBody ret (return value: cc.PhysicsBody)
--------------------------------
--
2014-03-10 14:04:58 +08:00
-- @function [parent=#PhysicsJoint] getBodyB
-- @param self
-- @return PhysicsBody#PhysicsBody ret (return value: cc.PhysicsBody)
--------------------------------
-- Get the max force setting
2014-03-10 14:04:58 +08:00
-- @function [parent=#PhysicsJoint] getMaxForce
-- @param self
-- @return float#float ret (return value: float)
--------------------------------
-- Set the max force between two bodies
2014-03-10 14:04:58 +08:00
-- @function [parent=#PhysicsJoint] setMaxForce
-- @param self
-- @param #float force
2014-03-10 14:04:58 +08:00
--------------------------------
--
2014-03-10 14:04:58 +08:00
-- @function [parent=#PhysicsJoint] isEnabled
-- @param self
-- @return bool#bool ret (return value: bool)
--------------------------------
-- Enable/Disable the joint
2014-03-10 14:04:58 +08:00
-- @function [parent=#PhysicsJoint] setEnable
-- @param self
-- @param #bool enable
2014-03-10 14:04:58 +08:00
--------------------------------
-- Enable/disable the collision between two bodies
2014-03-10 14:04:58 +08:00
-- @function [parent=#PhysicsJoint] setCollisionEnable
-- @param self
-- @param #bool enable
2014-03-10 14:04:58 +08:00
--------------------------------
--
2014-03-10 14:04:58 +08:00
-- @function [parent=#PhysicsJoint] getWorld
-- @param self
-- @return PhysicsWorld#PhysicsWorld ret (return value: cc.PhysicsWorld)
--------------------------------
--
2014-03-10 14:04:58 +08:00
-- @function [parent=#PhysicsJoint] setTag
-- @param self
-- @param #int tag
2014-03-10 14:04:58 +08:00
--------------------------------
-- Remove the joint from the world
2014-03-10 14:04:58 +08:00
-- @function [parent=#PhysicsJoint] removeFormWorld
-- @param self
--------------------------------
--
2014-03-10 14:04:58 +08:00
-- @function [parent=#PhysicsJoint] isCollisionEnabled
-- @param self
-- @return bool#bool ret (return value: bool)
--------------------------------
--
2014-03-10 14:04:58 +08:00
-- @function [parent=#PhysicsJoint] getTag
-- @param self
-- @return int#int ret (return value: int)
--------------------------------
-- Distory the joint
2014-03-10 14:04:58 +08:00
-- @function [parent=#PhysicsJoint] destroy
-- @param self
-- @param #cc.PhysicsJoint joint
2014-03-10 14:04:58 +08:00
return nil