Commit Graph

10 Commits

Author SHA1 Message Date
Yun Hsiao Wu f099e500c3 node & camera refactor 2019-01-10 20:07:22 +08:00
Yun Hsiao Wu d76d93fae1 merge origin 2019-01-08 17:14:17 +08:00
Yun Hsiao Wu e1d84783a4 Merge branch '3d' of https://github.com/cocos-creator/engine into gfx 2019-01-08 16:56:38 +08:00
Yun Hsiao Wu 06eb5d8060 fix tsc errors 2019-01-08 16:38:26 +08:00
Leslie Leigh 4fa9f07f33 auto pull transform when node rebind to body or body added to world. (#3706) 2019-01-07 14:20:19 +08:00
Leslie Leigh f10fbdf265 fix exports/add triple directive (#3717) 2019-01-07 12:41:24 +08:00
Leslie Leigh 6050a2aefc donot use global namespace Vec3, use import instead; fix wrong import head (#3716)
* donot use global namespace Vec3, use import instead

* fix wrong import head

* fix module bits export
2019-01-04 19:24:45 +08:00
Leslie Leigh 4488d0d363 Vmath (#3700)
* * do not run phy system in editor
* support center of phy shape
* fix setWorldPosition() bug

* add interface pullTransform() for sync dynamic phy body's transform

* rename to ts

* remove type in jsdoc annotation

* set indent to 4

* tslint auto fix

* tslint auto fix

* update bits.ts

* update package.json;update vecs, quat and util.

* correct exporting/importing in index.js/export renderer as non-default because dumplicated Scene export

* components exporting
2019-01-03 18:50:17 +08:00
Leslie Leigh cf180d57d9 do not run phy system in editor;support center of phy shape;fix setWorldPosition() bug (#3690)
* * do not run phy system in editor
* support center of phy shape
* fix setWorldPosition() bug

* add interface pullTransform() for sync dynamic phy body's transform
2019-01-02 16:51:01 +08:00
Leslie Leigh 3ed9edfbc6 phy framework (#3644)
* phy framework

* phy mat

* framework/index.ts

* a node can have more than one collider

* rename physical to physics

* fix

* fix

* support mix ts js

* fix

* fix problems in issue

* fix

* remove RigidBodyType, add DataFlow

* useGravity, freezeRotation, isKinematic

* raycasts

* fit buildin-world raycast options

* add contact material

* lint

* add rigid-body-component.ts

* some improvements

* improvements

* fix bug
2018-12-27 12:03:10 +08:00