33

使用P2物理引擎制作物理小球-11950887

 5 years ago
source link: http://blog.51cto.com/11960887/2175349
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
今天分享的内容是:基于Egret使用P2物理引擎实现物理小球示例效果。了解更多信息,您可以查看P2物理引擎GitHub地址或者是EgretP2物理系统文档。*第三方库的引入*创建一个P2物理项目一、第三方库的引入1.首先新建一个项目。2.在GitHub上下载包括P2物理引擎库的完整第三方库,解压后按照路径找到physics模块。3.将physics模块放到新建项目根目录的同级目录。4.修改egre

About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK