Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ThreeJS to wx #14

Open
HAAAAADION opened this issue May 23, 2018 · 0 comments
Open

ThreeJS to wx #14

HAAAAADION opened this issue May 23, 2018 · 0 comments

Comments

@HAAAAADION
Copy link
Owner

HAAAAADION commented May 23, 2018

ImageBitmap is not defined

Three.js源码中的|| image instanceof ImageBitmap删除

document. createElementNS is not a function

weapp-adapter.js document 的定义中添加 createElementNS方法

createElementNS: function createElementNS(nameSpace, tagName) {
      return this.createElement(tagName)
}

_eb7dc139-b906-42e8-beca-68d1310b1574

关于物理引擎的复合刚体模型,这里使用Connon.js

Cannon.js complex shapes

移动质量中心

compound body center of mass

移动旋转中心

Position a body in cannon.js relative to local rotation

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant