mirror of https://github.com/axmolengine/axmol.git
27 lines
752 B
Lua
27 lines
752 B
Lua
|
|
||
|
--------------------------------
|
||
|
-- @module PhysicsJointFixed
|
||
|
-- @extend PhysicsJoint
|
||
|
-- @parent_module cc
|
||
|
|
||
|
--------------------------------
|
||
|
--
|
||
|
-- @function [parent=#PhysicsJointFixed] createConstraints
|
||
|
-- @param self
|
||
|
-- @return bool#bool ret (return value: bool)
|
||
|
|
||
|
--------------------------------
|
||
|
-- Create a fixed joint.<br>
|
||
|
-- param a A is the body to connect.<br>
|
||
|
-- param b B is the body to connect.<br>
|
||
|
-- param anchr It's the pivot position.<br>
|
||
|
-- return A object pointer.
|
||
|
-- @function [parent=#PhysicsJointFixed] construct
|
||
|
-- @param self
|
||
|
-- @param #cc.PhysicsBody a
|
||
|
-- @param #cc.PhysicsBody b
|
||
|
-- @param #vec2_table anchr
|
||
|
-- @return PhysicsJointFixed#PhysicsJointFixed ret (return value: cc.PhysicsJointFixed)
|
||
|
|
||
|
return nil
|