love2d教程18--物理引擎2
這幾天在折騰linux,幾乎把我折騰怕了,不過終於搞定了。下面繼續love2d物理引擎的回調處理。 1、創建世界 world 2、使用world:setCallbacks(beginContact, endContact, preSolve, postSolve),這四個參數即回調 函數 ...
這幾天在折騰linux,幾乎把我折騰怕了,不過終於搞定了。下面繼續love2d物理引擎的回調處理。 1、創建世界 world 2、使用world:setCallbacks(beginContact, endContact, preSolve, postSolve),這四個參數即回調 函數 ...