Commit Graph

8210 Commits

Author SHA1 Message Date
zxg0622 b1fa01f118 fix ui particle error & add module api doc (#4684) (#4685) 2019-06-24 19:06:02 +08:00
jiaxin.lai cb2786a789 Physics enegine event refactor (#4675)
* update cannon.js & cannon.js declaration

* plugin cannon.js collsion event & provide contacts(testing for now)

* wrap cannon body impl

* add linear\angular factor to rigidbody component

* add awake sleepy sleeping state query get property

* add apply local force/impulse function to rigidbody component

* add builtin macro protection

* add linear/angular veloctiy function to rigidbody component

* delete some unneed code, enable allowSleep by default

* event refactor, trigger emit by shape, collision emit by rigidBody

* Builtin system also need 'beforeStep'
2019-06-24 18:32:00 +08:00
Leslie Leigh cfc9af914f fix cubic spline classes error (#4679) 2019-06-24 15:10:45 +08:00
Yun Hsiao Wu 06e0b457ae misc fix (#4676)
* main light should be disabled on init

* shader source with line numbers
2019-06-24 10:49:50 +08:00
Leslie Leigh 00d0495eaa bug fix (#4674)
* bug fix

* Update animation-component.ts
2019-06-24 10:17:15 +08:00
Yun Hsiao Wu 36d838ac7e minor (#4673) 2019-06-22 15:13:46 +08:00
Yun Hsiao Wu 62d2f5f38a builtin IBL (#4671) 2019-06-21 18:49:20 +08:00
JoneLau 25b11e9d78 fix widget bug and add switch in px to persent (#4667) 2019-06-21 17:56:42 +08:00
zxg0622 ba28b55d5e add visibility to inspector (#4669) 2019-06-21 17:56:23 +08:00
pandamicro 1a3b75cea8 Add Priority to Camera Component (#4670)
* Update authors

* Add  Priority to Camera Component
2019-06-21 17:52:48 +08:00
Leslie Leigh fac20f8df1 bug fix; typing loadres (#4664) 2019-06-21 09:35:20 +08:00
ChiaNing 408cc6f930 Copyright Notice format change (#4665) 2019-06-21 09:34:05 +08:00
jiaxin.lai dcbd593001 add physics macro to global in publish, set cannon to default (#4660) 2019-06-20 16:19:59 +08:00
gameu3d 9bf1bd286c export CCInteger, CCFloat, CCBoolean, CCString (#4661) 2019-06-20 16:19:31 +08:00
Yun Hsiao Wu 59753e2d14 keep color as is at tonemap pass in LDR (#4663) 2019-06-20 16:19:06 +08:00
ChiaNing 8eb45b5819 typedoc-plugin update (#4662) 2019-06-20 16:18:39 +08:00
JoneLau 4971fb9750 fix circle (#4658) 2019-06-20 14:29:12 +08:00
jiaxin.lai b81f4471f3 Fix cannon add&remove mask method (#4652)
* Fix cannon add&remove mask method

* remove extra condition

* group and mask use bit operation only
2019-06-20 11:39:41 +08:00
JoneLau 5e3aad60c2 add uimodel to cc (#4657) 2019-06-20 11:16:11 +08:00
jiaxin.lai 280e620f64 before destroy make sure the body is deactive (#4656) 2019-06-20 09:35:15 +08:00
Yun Hsiao Wu 01d25588e7 seperate sampler bindings (#4654) 2019-06-19 15:42:40 +08:00
JoneLau 780fa06f6b data protection (#4650) 2019-06-19 09:14:51 +08:00
zxg0622 caa1aa1ab6 fix particle scale space (#4649) 2019-06-18 17:14:20 +08:00
Weiliang Wang fec9b03741 remove whitespace (#4648) 2019-06-18 16:57:07 +08:00
Yun Hsiao Wu c207888d01 minor (#4646) 2019-06-18 16:51:46 +08:00
Weiliang Wang 6af6af35b2 split present() from root.frameMove() (#4647) 2019-06-18 16:51:11 +08:00
Leslie Leigh 862d2a31ae opt anim curve (#4636) 2019-06-18 09:30:03 +08:00
jiaxin.lai 81e19a0377 Fix builtin add&remove mask bug (#4638) 2019-06-18 09:27:53 +08:00
jiaxin.lai 80ff98ef24 Revert the visble vaule to false, this is editor bug fix (#4637) 2019-06-18 09:27:28 +08:00
zxg0622 e299018e88 add particle system scale (#4639) 2019-06-17 17:34:58 +08:00
Yun Hsiao Wu dc45d5e0ce update joints after culling (#4641)
* fix vmath return type

* more docs

* update joints after culling
2019-06-17 17:33:01 +08:00
jiaxin.lai 373ac1ca09 spilt cannon-impl to folder of cannon (#4631) 2019-06-17 15:44:08 +08:00
Leslie Leigh 44f1669fa6 add readOnly decorator (#4626)
* update api document for ILerpable

* add readOnly decorator

* rename readOnly to constget

* doc
2019-06-17 12:00:06 +08:00
JoneLau e19ddf51c6 commit graphics (#4623) 2019-06-17 11:37:04 +08:00
JoneLau d9723d720c fix ui prefab error (#4635) 2019-06-17 10:35:09 +08:00
jiaxin.lai 7e3d099993 Fix component enable property decorator (#4632) 2019-06-17 10:03:29 +08:00
gameu3d 2a594855ae 3d system events declaration (#4633)
* add mouse event

* add touch events declaration
2019-06-17 10:01:45 +08:00
Santy-Wang 4c40177134 print error message on console (#4629) 2019-06-17 10:01:15 +08:00
jiaxin.lai 688d2afc2d Add document for intersect (#4624) 2019-06-14 14:45:56 +08:00
Leslie Leigh 51ce17b987 update api document for ILerpable (#4621) 2019-06-14 14:45:07 +08:00
ChiaNing 6ee7107a32 Format adjustment for api doc (#4625) 2019-06-14 14:43:21 +08:00
Yun Hsiao Wu 69c2169ede fix build (#4622) 2019-06-14 13:44:34 +08:00
Yun Hsiao Wu ab20e4fe2b vmath docs (#4620)
* mat4 vec4

* minor

* vec3, mat3, quat

* color4, vec2
2019-06-14 11:25:48 +08:00
Weiliang Wang 2ce2bbf402 add root api doc (#4619) 2019-06-14 10:50:03 +08:00
jiaxin.lai 28b18223da Adjust group & mask documents, add get/set-CollisionFilter-group/mask interface (#4602) 2019-06-14 10:20:02 +08:00
jiaxin.lai 16beedd53e Add physics macros when build engine (#4617) 2019-06-14 09:24:50 +08:00
ChiaNing f49bd31a22 Format adjustment for api doc (#4618) 2019-06-14 09:22:43 +08:00
jiaxin.lai 8a86e39151 Add some documents for gemo-util (#4614)
* Add some documents for gemo-util

* Add docments for distance
2019-06-13 17:33:31 +08:00
SijieWang 4a39ee361f Generate the actual uuid in the id generator (#4612) 2019-06-13 17:31:04 +08:00
Santy-Wang e7f1af7d8d fix circular dependency (#4616) 2019-06-13 17:11:10 +08:00