Commit Graph

15 Commits

Author SHA1 Message Date
jiaxin.lai 5a0b49ac25 fixes applyForce and applyImpulse function call error, modify shape and body construct order (#4195) 2019-04-12 09:49:44 +08:00
jiaxin.lai 449e7640dc Construct a rigid body should be before the user script can access the rigid body (#4189) 2019-04-11 14:54:51 +08:00
jiaxin.lai 9562e4ae01 add uglify workflow in build engine, modify uglify parameter (#4174) 2019-04-09 17:35:49 +08:00
jiaxin.lai abc2d65da1 fixes UseGravity property in rigidbody component (#4165) 2019-04-08 18:14:45 +08:00
jiaxin.lai 3bb398a31f Fix a problem where the physical system collision event does not trigger because of automatic sleep, adding a trigger property to the collider component (#4158) 2019-04-08 14:35:23 +08:00
Leslie Leigh 682c9d19dc Leslie (#4103)
* physics system use fixed frame-rate

* wakeup bodies before apply force and impulse
2019-03-26 00:12:28 +08:00
Yun Hsiao Wu 59f7cc1594 material: custom pipeline states (#4059) 2019-03-18 16:46:28 +08:00
Leslie Leigh b3e3ff2b3c move declaration files into @types; adapt sampler interface; fix comp… (#4051)
* move declaration files into @types; adapt sampler interface; fix compiler error

* typing asset/raw-asset

* compiler errors

* delete asset.d.ts

* change tsconfig-gendecls.json

* fix
2019-03-15 17:26:37 +08:00
Leslie Leigh a2416ba312 normalize the RaycastResult; allow rigidbody to sleep to prevent shake (#4028) 2019-03-13 18:21:15 +08:00
jerrywwl 24608778c1 fix conflicts 2019-03-12 09:58:04 +08:00
jerrywwl 7b806d34dc Merge branch '3d' of https://github.com/cocos-creator/engine into 3d 2019-03-11 23:48:53 +08:00
jerrywwl 6f7e20c534 limit max lighting light num to 2 2019-03-11 23:48:08 +08:00
Leslie Leigh aa273526f6 fix commit (#4004) 2019-03-11 18:13:56 +08:00
Leslie Leigh dcfb485d69 fix ammo-impl bugs (#3997) 2019-03-11 17:32:16 +08:00
Leslie Leigh b7869b595d restructure physics (#3985) 2019-03-08 11:30:14 +08:00