nixos/lua-lsp/meta/3rd/Cocos4.0/library/cc/PhysicsContactPostSolve.lua

18 lines
486 B
Lua
Raw Normal View History

---@meta
---@class cc.PhysicsContactPostSolve
local PhysicsContactPostSolve={ }
cc.PhysicsContactPostSolve=PhysicsContactPostSolve
---* Get friction between two bodies.
---@return float
function PhysicsContactPostSolve:getFriction () end
---* Get surface velocity between two bodies.
---@return vec2_table
function PhysicsContactPostSolve:getSurfaceVelocity () end
---* Get restitution between two bodies.
---@return float
function PhysicsContactPostSolve:getRestitution () end