Commit Graph

27 Commits

Author SHA1 Message Date
jiaxin.lai 6e092ad307 Tweaks of tween&physics (#6036)
*  tweaks of Tween api document

* fix export of ConstantForce
2020-01-08 12:53:19 +08:00
jiaxin.lai 2fec62b5cf fix body enabled after add or remove shapes (#6024) 2020-01-04 09:30:14 +08:00
jiaxin.lai 21cc4351c6 builtin_capsule_collider (#5970)
* add bouding capsule

* add builtin capsule collider

* add apater for capsule shape

* fix circular dependency

* fix typing

* fix capsule_capsule algorithm

* api doc tweaks

* fix ci
2019-12-27 18:11:44 +08:00
jiaxin.lai 87c6b9bda4 Ammo-Wrapper (#5954)
* basic physics abstract spec

* spec tweaks

* stash

* cannon refactor

* builtin refactor

* cannon wrapper & framework tweaks

* hiding, wait for 1.0.3

* delete unneed code

* export CANNON

* rebase

* rename stash

* rename I-rigid-body to i-rigid-body

* stash

* stash

* cannon refactor

* cannon wrapper & framework tweaks

* remve unneeded code

* wrap,....hack

* demo impl

* stash

* stash, complete dynamics update

* dynamic update center

* stash, size + center

* tweaks, fix share trigger shape

* tweaks

* stash

* ammo events stash

* tweaks

* stash

* complete ammo events

* tweaks

* stash

* body property, stash

* body , stash...

* tweaks

* tweaks

* tweaks

* ammo tweaks

* stash

* stash

* tweaks

* tweaks

* stash,complete tirgger,body、 ghost etc.

* tweaks

* remove unneeded code

* fix api of angluar velocity

* physic material for single body for now

* ray test stash

* stash

* update ammo version

* impl raycast

* impl group mask

* update ammo version

* update ammo package

* add onDestroy to ammo rigid body

* add protected for temporary

* fix allow sleep

* remove unneed code

* shape tweaks

* stash

* rename spahe to shape

* tweaks

* fix damping

* adapt

* reset state after disable & enable

* export ammo.js

* Revert "cannon wrapper & framework tweaks"

This reverts commit e59ea98c0bd8c23b23e9ee428ddce45d0271f1eb.

* update @cocos/ammo version

* fix applyLocalTorque

* tweaks

* beta version

* fix import i-rigid-body

* delete unused file

* Specification function name
2019-12-25 17:34:12 +08:00
jiaxin.lai 1a99b886b6 refactor physics framework & wrapper (#5667)
* basic physics abstract spec

* spec tweaks

* stash

* cannon refactor

* builtin refactor

* cannon wrapper & framework tweaks

* cannon wrapper import tweaks

* remve unneeded code

* group mask tweaks

* hiding, wait for 1.0.3

* builtin tweaks

* delete unneed code

* export CANNON

* update @cocos/cannon to 1.0.3

* using hasTigger property

* fix remove cannon body

* rebase

* update cannon version to 1.0.4

* rename stash

* rename I-rigid-body to i-rigid-body
2019-12-13 16:00:22 +08:00
jiaxin.lai 8bb8eb8935 add useFixedTime to physics system (#5871) 2019-12-09 18:28:53 +08:00
ChiaNing b7606ef2fc node event TRS remove (#5750)
* node event TRS remove

* transformBit  rename & deprecated

* notice update
2019-11-20 16:07:50 +08:00
pandamicro bfd8994e40 Merge pull request #5764 from cocos-creator/3d-v1.0.1
Merge 3d v1.0.1
2019-11-19 18:16:15 +08:00
Yun Hsiao Wu f7f6193f26 skinning model bounds (#5743)
* first try: skeleton bounds with scaling

* second try: bone space per joint bounds

* rendering data pool manager

* shadow culling

* better identity joint texture handle allocation

* fix batched skinning model material lost

after quitting animation editor

* unify local ubo binding
2019-11-19 18:13:49 +08:00
jiaxin.lai 38069d74ad reset physics raycast default max distance (#5760)
* fix rayResultSingleModel getter of render-scene

* reset physics raycast default max distance
2019-11-18 18:39:47 +08:00
ftershock fc359c8a7a add tooltip (#5663)
* Add tooltip

* add tooltip

* update spriteatlas

* add changeSpriteFrameFromAtlas
2019-11-06 18:30:12 +08:00
jiaxin.lai 819fc122fb physics sync after events (#5610) 2019-10-24 17:11:05 +08:00
jiaxin.lai 473726a7eb physic material override & hide some property (#5582)
* - override & hide some property
- default value -1 to 0.1

* remove override
2019-10-24 10:02:36 +08:00
jiaxin.lai 4d0ce3d94c fix physics sync with kinematic (#5589)
* fix physics sync with kinematic

* tweaks
2019-10-23 17:08:59 +08:00
jiaxin.lai 89c1ca97cf fix rigidbody initialize (#5590) 2019-10-23 14:17:25 +08:00
jiaxin.lai 44e6915279 update cannon.js source to @cocos/cannon (#5573) 2019-10-21 16:37:00 +08:00
jiaxin.lai 300609e748 impl physics raycast (#5403)
* impl physics raycast

* - remove raycastAny
- rename raycastAll to raycast
- rename raycastAllResults to raycastResults
2019-10-21 15:25:46 +08:00
jiaxin.lai 3e28aeb310 - update cannon version to cc1.0.2 (#5545)
- emit events after transform sync in cannon physics
2019-10-21 12:00:45 +08:00
jiaxin.lai 3025fdcdd2 fix bug of center not update (#5393)
* modify api doc

* fix bug of center not update
2019-09-17 10:37:53 +08:00
Yun Hsiao Wu 63eb7918b2 cleaner create component menu (#5396) 2019-09-16 17:21:52 +08:00
jiaxin.lai 3fdda0d1c8 Rename built_in to builtin (#5390)
* rename ***_BUILT_IN to ***_BUILTIN

* add protection, it will be remove when editor repo ***_BUILT_IN rename to ***_BUILTIN
2019-09-16 10:50:05 +08:00
jiaxin.lai 5ebb914e8d fix shapebase typing (#5387) 2019-09-12 19:12:56 +08:00
ChiaNing dc443bad3f api-doc update (#5334) 2019-09-05 00:40:00 -05:00
jiaxin.lai b160f6c5cf fix scale property sync with physics (#5317) 2019-09-03 01:47:49 -05:00
jiaxin.lai 04196b2039 implement physic material (#5308) 2019-09-03 01:39:07 -05:00
jiaxin.lai d4ed3103f7 add deprecated for physics framework api (#5304) 2019-09-02 01:36:58 -05:00
pandamicro 9f89b0ef24 New module division (#5285)
* Temp

* temp

* move ui core

* Arrange ui and terrain

* Fix import path for all modules except core

* Move primitives into core

* Fix debug.getError

* Move audio-downloader to audio module

* export game from game.ts

* Migrate load-pipeline to ts

* Fix core modules and cleanup

* Move animation into core

* Fix module exports

* Fix director issue

* Remove most cc.director usage

* Fix ts issues

* Fix issues for unit test and editor running

* Revert removing deprecated import

* tweaks

* tweaks

* Fix ci

* Fix ci

* Add modules in module division

* Upgrade coordinates-converts-utils
2019-08-30 11:35:22 +08:00