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

48 lines
1.4 KiB
Lua
Raw Normal View History

2014-03-10 14:04:58 +08:00
--------------------------------
-- @module PhysicsContactPreSolve
-- @parent_module cc
2014-03-10 14:04:58 +08:00
--------------------------------
-- get friction between two bodies
2014-03-10 14:04:58 +08:00
-- @function [parent=#PhysicsContactPreSolve] getFriction
-- @param self
-- @return float#float ret (return value: float)
--------------------------------
-- get restitution between two bodies
2014-03-10 14:04:58 +08:00
-- @function [parent=#PhysicsContactPreSolve] getRestitution
-- @param self
-- @return float#float ret (return value: float)
--------------------------------
-- set the friction
2014-03-10 14:04:58 +08:00
-- @function [parent=#PhysicsContactPreSolve] setFriction
-- @param self
-- @param #float friction
2014-03-10 14:04:58 +08:00
--------------------------------
-- ignore the rest of the contact presolve and postsolve callbacks
2014-03-10 14:04:58 +08:00
-- @function [parent=#PhysicsContactPreSolve] ignore
-- @param self
--------------------------------
-- get surface velocity between two bodies
2014-03-10 14:04:58 +08:00
-- @function [parent=#PhysicsContactPreSolve] getSurfaceVelocity
-- @param self
-- @return vec2_table#vec2_table ret (return value: vec2_table)
2014-03-10 14:04:58 +08:00
--------------------------------
-- set the surface velocity
2014-03-10 14:04:58 +08:00
-- @function [parent=#PhysicsContactPreSolve] setSurfaceVelocity
-- @param self
-- @param #vec2_table velocity
2014-03-10 14:04:58 +08:00
--------------------------------
-- set the restitution
2014-03-10 14:04:58 +08:00
-- @function [parent=#PhysicsContactPreSolve] setRestitution
-- @param self
-- @param #float restitution
2014-03-10 14:04:58 +08:00
return nil