Commit Graph

8242 Commits

Author SHA1 Message Date
jiaxin.lai 2aa125974d Fix collider sync bug, add shape to body before enable body (#4753)
* add shape to body before enable body, when enable body will sync the body

* sync node after add shape to body
2019-06-29 12:16:48 +08:00
jiaxin.lai e7f4356177 add physics and deferredDestroy profiler & add readonly type to director static event (#4727) 2019-06-28 18:41:13 +08:00
ChiaNing 3fe05964d9 fix "_currentHovered" destroy bug (#4750) 2019-06-28 18:38:52 +08:00
Yun Hsiao Wu cbf1185ee7 minor (#4751) 2019-06-28 17:04:46 +08:00
Leslie Leigh b5623dee6a add reset() to Mesh and Texture (#4745)
* add reset() to Mesh and Texture

* use tag deprecated

* typo
2019-06-28 16:17:00 +08:00
Weiliang Wang 4e1875ae0c 3d v1.0.0 release (#4746)
* optimize deconstruction

* optimize data copy
2019-06-28 11:51:43 +08:00
zxg0622 b540c3d728 fix particle lag (#4718) (#4743)
* fix particle lag

* fix model recreate pso on enable

* change value-type lerp interface

* change value-type lerp to static

* fix model not rendered at persistent node
2019-06-28 10:26:28 +08:00
Yun Hsiao Wu f6d6aab06b bindpose as mat4 (#4738) 2019-06-27 18:35:01 +08:00
Weiliang Wang d6fb2dc72b Revert "add constget to the valuetype in the component (#4733)" (#4739)
This reverts commit fb35719387.
2019-06-27 18:31:41 +08:00
JoneLau fb35719387 add constget to the valuetype in the component (#4733) 2019-06-27 17:57:08 +08:00
JoneLau 2b56b8c37b adjust core to avoid babel packing errors (#4731) 2019-06-27 17:56:54 +08:00
jiaxin.lai 29b61b6b0a update physics api doc (#4735) 2019-06-27 17:55:47 +08:00
Weiliang Wang b29fd01643 Merge pull request #4729 from shrinktofit/6271
AnimationComponent APIs: remove currentPlaying; add pause(),resume(),…
2019-06-27 17:32:53 +08:00
Leslie a1021e3776 AnimationComponent APIs: remove currentPlaying; add pause(),resume(),stop(); unify the semantic of play() and crossFade() 2019-06-27 15:37:49 +08:00
jiaxin.lai 7c7a0536a6 fix bug of collider set size & radius when using builtin (#4726) 2019-06-27 11:31:21 +08:00
jiaxin.lai 25c13d4d96 update display order of rigid body component (#4723) 2019-06-27 09:54:39 +08:00
JoneLau 67e264c995 ui layout api (#4707) 2019-06-27 09:52:13 +08:00
ChiaNing f79924e288 Some API Doc modify (#4725)
* Some API Doc modify

* loader API Doc modify
2019-06-27 09:51:10 +08:00
jiaxin.lai 94ac0b3bd3 fix build engine args of physics type (#4720) 2019-06-26 16:51:09 +08:00
Weiliang Wang 3e6d566160 3d v1.0.0 release (#4717)
* fix alpha blending error

* optimize ubo data copy
2019-06-26 14:08:03 +08:00
Weiliang Wang 8ffe5d45c3 fix alpha blending error (#4716) 2019-06-26 11:45:30 +08:00
jiaxin.lai a587880884 api module declare for gemo-util (#4686)
* api module declare for gemo-util

* modify gemo-util api
2019-06-26 10:43:56 +08:00
jiaxin.lai e3bd03f037 api module declare for physics (#4687)
* api module declare for physics

* modify physics api

* update physics profile
2019-06-26 10:42:55 +08:00
Leslie Leigh 505666f210 DO NOT take Constructor from ammo.js.d.ts (#4703) 2019-06-26 10:07:24 +08:00
Leslie Leigh c5b5afc8a7 Category for value-types and animations (#4704) 2019-06-26 09:57:21 +08:00
JoneLau 4aa55fa055 fix does not display bug under conditional activation (#4711) 2019-06-26 09:55:48 +08:00
Yun Hsiao Wu d7e7f06611 global planar shadow system (#4709)
* doc category

* planar shadow
2019-06-26 09:48:47 +08:00
Leslie Leigh a5955b1c70 update tfig (#4702) 2019-06-25 17:25:58 +08:00
Leslie Leigh 13c428e0a1 Update texture api document (#4695) 2019-06-25 16:11:38 +08:00
Weiliang Wang 0dce6548b0 remove test code (#4697) 2019-06-25 16:04:30 +08:00
Weiliang Wang 9d0f40aac7 fix culling error (#4696) 2019-06-25 15:56:29 +08:00
Weiliang Wang f7c4d165fb add category api docs (#4692) 2019-06-25 14:02:03 +08:00
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