Commit Graph

350 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
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
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
jiaxin.lai 29b61b6b0a update physics api doc (#4735) 2019-06-27 17:55:47 +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
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 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
Yun Hsiao Wu d7e7f06611 global planar shadow system (#4709)
* doc category

* planar shadow
2019-06-26 09:48:47 +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
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
ChiaNing 408cc6f930 Copyright Notice format change (#4665) 2019-06-21 09:34:05 +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
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
zxg0622 caa1aa1ab6 fix particle scale space (#4649) 2019-06-18 17:14:20 +08:00
Yun Hsiao Wu c207888d01 minor (#4646) 2019-06-18 16:51:46 +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
Yun Hsiao Wu ab20e4fe2b vmath docs (#4620)
* mat4 vec4

* minor

* vec3, mat3, quat

* color4, vec2
2019-06-14 11:25:48 +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
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
pandamicro 994d93e65b Fix texture sampler destroyed issue (#4611) 2019-06-13 13:12:47 +08:00
zxg0622 62c38b8198 add memop doc & change map iteration (#4604) 2019-06-12 18:45:59 +08:00
Yun Hsiao Wu 182a29a869 skinning mesh bounds (#4591)
* skinning mesh bounds

* scene-utils docs

* fix batching
2019-06-12 17:06:13 +08:00
jiaxin.lai b8888a4317 Add Physics group and mask docments (#4597) 2019-06-12 17:04:46 +08:00
JoneLau a18decfa83 fix circle (#4599) 2019-06-12 16:55:58 +08:00
jiaxin.lai 3359c9a30f Add physics interface api document (#4593) 2019-06-12 11:11:46 +08:00
Yun Hsiao Wu 00eac3b237 material destroy issue (#4573)
* camera clear color

* material destroy

* fix material destroy issue
2019-06-11 18:12:21 +08:00
jiaxin.lai 38c2478b19 Add method to collider (#4561)
* Fix bug of Cannon physics

* Add on、off、once to collider-component

* Modify collision event emit param

* Rename ColliderComponentBase to ColliderComponent and export ColliderComponent;

* Add export-api file for export some physics api to user

* on、off、once Change to private

* Collider manage collision event
2019-06-11 17:32:33 +08:00
zxg0622 e65f9caebe particle doc (#4576) 2019-06-10 12:57:44 +08:00
Yun Hsiao Wu 42541abefe missing skining material (#4570)
* default for miss skinning material

* return super.destroy
2019-06-06 19:20:18 +08:00
jiaxin.lai a1883b6cc6 Fix bug of Cannon physics (#4557) 2019-06-06 18:57:31 +08:00
Yun Hsiao Wu b2dd74520b fix skinning model update policy (#4566)
* full material doc

* fix skinning model update policy

* audio doc
2019-06-06 16:43:52 +08:00
Yun Hsiao Wu f9d8f8cc38 material doc (#4558) 2019-06-06 09:19:54 +08:00
Yun Hsiao Wu 0f68b5b048 new batched comp (#4555) 2019-06-05 16:24:16 +08:00
Yun Hsiao Wu 25872ad6c4 revert batched material (#4554) 2019-06-05 15:25:29 +08:00
Yun Hsiao Wu 1770effd02 combined material for avatar model component (#4552) 2019-06-05 11:37:49 +08:00
jiaxin.lai 34c8e6650d Physics builtin (#4547)
* Rename built-in-*** to builtin-***

* Rename r to radius and c to center;

* Add method : transkateAndRotate & setScale to obb & sphere;
Delete unneed class box in box.ts file

* Fix builtin physics Bug of #751 & Modify the physics relative component

* Add macro condition, some method is not declare in builtin

* Rename CC_PHYISCS_*** to CC_PHYSICS_***;

* rename BuiltIn*** to Builtin***

* Typing intersect
2019-06-05 10:27:09 +08:00
jiaxin.lai 4cbd3e63f2 split box\sphere collider component from base collider component (#4541) 2019-06-03 19:26:43 +08:00
Yun Hsiao Wu 03a5d28c8c fix DQS pipe (#4543) 2019-06-02 20:06:49 +08:00
zxg0622 81743b3c13 fix burst count bug (#4533) 2019-05-31 14:29:21 +08:00
Yun Hsiao Wu e3ac704223 minor (#4532) 2019-05-30 19:13:22 +08:00
Yun Hsiao Wu 7103999d68 handle different skinning roots (#4525)
* better opt

* handle different skinning roots
2019-05-30 17:36:13 +08:00