qiuguohua
043c4dcc3c
Fix tween.sequence not supporting single parameter ( #16443 )
...
* fix tween.sequence
* add sequence unit test
* Fix tween.sequence not supporting single parameter
* semicolon added
---------
Co-authored-by: zxx43 <zxx43@hotmail.com >
Co-authored-by: qiuguohua <guohua.qiu@cocos.com >
2023-11-01 11:03:18 +08:00
Ling Zhan
38bcd20e9f
V3.8.2 bullet embind ( #16350 )
...
* bullet wasm embind
# Conflicts:
# tests/init.ts
* replace imports with abstract methods of class
* embind performance opt
* wasm split loading
* tweak
* update native/external-config.json 3.8.2-14
2023-10-13 16:16:23 +08:00
Leslie Leigh (李的序)
767f44a313
Bug: deserialized scene should have node transforms invalidated at initial ( #16353 )
...
* Bug: deserialized scene should have node transforms invalidated
* Remove transformFlags modification in _onBatchCreated
2023-10-09 16:50:25 +08:00
ChiaNing
d2d7623e9d
Integration of outline and shadow to label ( #16106 )
...
* Integration of outline and shadow to label
* add test
* change getter/setter
* name change & use assert
* test name change
* name change
* fix
* remove old attribute & add visible
* remove assert
* fix: gulp-build-h5-source
* Revert "fix: gulp-build-h5-source"
---------
Co-authored-by: PP_Pro <chinese1236@qq.com >
2023-09-20 11:14:42 +08:00
Leslie Leigh (李的序)
5682bbf996
Use WebAssembly version libraries for unit testing ( #16264 )
...
* Use WebAssembly version libs in unit test
2023-09-19 10:52:16 +08:00
Leslie Leigh (李的序)
59c6afd7e5
Optimize physics unit test ( #16262 )
2023-09-15 14:07:07 +08:00
minggo
554598643a
Merge branch 'v3.8.1' into v3.8.2-merge-v3.8.1
2023-09-08 14:34:24 +08:00
Ling Zhan
d198a19d07
[fix] box2d wasm rigid-body destroy() should destroy related shapes and joints #17226 ( #16154 )
...
* [fix] box2d wasm rigid-body destroy() should destroy related shapes and joints #17226
* update external-config.json
2023-09-06 14:29:45 +08:00
Leslie Leigh (李的序)
42ff683602
Optimize and add test to Vec2.signedAngle ( #16183 )
2023-09-05 15:24:38 +08:00
PP
9daf2c663c
upgrade nodejs to 18.17.0 ( #15899 )
...
* upgrade nodejs to 18.17.0
fix compile-native-ts
fix type
fix eslint
fix node version on native-binding
test native ci
fix eslint
fix jest version
upgrade ts-jest
fix
reduce EXPECTED_CAPACITY
update ccbuidl
Revert "test native ci"
This reverts commit 795c8c68cf7ff7f2561db4414689ad3f6aa5c1f7.
# Conflicts:
# scripts/native-pack-tool/package-lock.json
* detect node version
# Conflicts:
# package.json
* use engine-strict option
* Update .nvmrc
* Update pal/input/web/accelerometer-input.ts
* fix conflict
* fix compile native ts
* download external in compile native ts
* fix
2023-08-28 15:52:24 +08:00
Yiwen
a4990ce4e6
Fix meshopt wechat ( #16069 )
...
* fix wechat wasm problem, sync external tag
* fix formatting
* fix tidy, unit test
2023-08-23 11:59:56 +08:00
Yiwen
bde3cd4cc3
Add adv mesh functionalities. ( #16009 )
...
* stage
* update
* update
* fix physics & ray cast problem
* fix default value, clean unused code, fix lint errors
* clean code
* update meta file
* update external, license
* fix tidy, circular dep
* fix type cast
* rm unit test
* fix unit test
* update comment
2023-08-21 10:15:24 +08:00
Ling Zhan
e5488b7d32
V3.8.1 box2d wasm experimental ( #15979 )
...
* init
* tsconfig.json
* add box2d-wasm backend to cocos engine. not crash now in 3.8.0.
* rigid-body, collider, and joint works now.
* back
* Joint: SetLinearFrequencyAndDampingRatio
* PhysicsRayCastCallback, PhysicsAABBQueryCallback
* box2d wasm debugDraw
* asm.js
* B2PolygonShape uses B2.ConvexPartition
* box2d wasm contact disabled works now.
* add unit test for physics2d.
* b2ContactListenerWrapper::registerContactFixture
* tweak
* drawPolygon transfer array data from wasm to ts
* tweak
* contact event performance opt
* revert to polygon collider 2d to original implementation. no need for libtess any more.
* PostSolve ContactImpulse use raw pointer.
* TransformVector2; debugDraw supports transform
* enable rtti
* WASM_OBJECT_PTR_2_TS_OBJECT, WASM_OBJECT_PTR_2_WASM_OBJECT
* fix PreSolve parameter oldManifold error
* B2.TransformVector2 --> b2Mul(in ts)
* tweaks: code format.
* eslint
* eslint
* remove physics-2d-box2d-wasm from render-config.json
* comment tweaks
* [opt] debug draw performance opt
* tweaks
2023-08-18 19:30:14 +08:00
ChiaNing
f4a7b95767
fix sprite world matrix update bug ( #15978 )
...
* fix sprite world matrix update bug
* fix by flag Changed Version
* add test
* CI & more test
2023-08-18 14:32:30 +08:00
Leslie Leigh (李的序)
d988b2373a
Fix: Inactivated skeletal animation components shall not affect skinned mesh renderers ( #13779 )
2023-08-17 16:16:15 +08:00
Leslie Leigh (李的序)
331fab3c6b
SkeletalAnimation: disable animation baking in pure editor mode ( #15977 )
2023-08-17 10:21:44 +08:00
Leslie Leigh (李的序)
6d04a1477a
Re-support non-transform animation in animation graph ( #15842 )
2023-08-14 11:38:52 +08:00
Leslie Leigh (李的序)
8403962f94
AnimationGraph: fix clip overriding in nested structure ( #15932 )
...
* Bug introduce
FF
* Fix clip overriding in animation graph
* Fix lint
* Fix lint
2023-08-14 10:29:38 +08:00
Leslie Leigh (李的序)
5eddce91f1
PoseGraph: support editor decorators on node inputs ( #15819 )
...
* PoseGraph: support editor decorators on node inputs
* Fix lint error
2023-08-01 14:50:45 +08:00
Leslie Leigh (李的序)
f87d196f8d
Add Vec3.generateOrthogonal ( #15705 )
2023-07-14 10:33:16 +08:00
minggo
802a1f0959
Merge branch 'v3.8.0' into v3.8.1-merge-v3.8.0
...
Conflicts:
cocos/core/utils/x-deprecated.ts
cocos/physics/bullet/instantiated.ts
cocos/physics/framework/components/character-controllers/character-controller.ts
cocos/render-scene/scene/shadows.ts
cocos/rendering/render-shadow-map-batched-queue.ts
cocos/spine/lib/instantiated.ts
cocos/spine/lib/spine-define.ts
cocos/spine/skeleton.ts
native/cocos/editor-support/spine-wasm/AtlasAttachmentLoaderExtension.cpp
native/cocos/editor-support/spine-wasm/spine-skeleton-instance.cpp
native/cocos/editor-support/spine-wasm/spine-skeleton-instance.h
native/cocos/editor-support/spine-wasm/spine-type-export.cpp
native/cocos/editor-support/spine-wasm/spine-wasm.cpp
native/external-config.json
2023-07-12 16:02:10 +08:00
troublemaker52025
50d9179bbe
Optimize effect dependency and package size ( #15650 )
2023-07-12 11:42:17 +08:00
Leslie Leigh (李的序)
43b9fd4485
PoseGraph: fix apply transform node ( #15632 )
...
* Fix apply transform
Tweak
* Optimize
2023-07-12 11:20:25 +08:00
Leslie Leigh (李的序)
a3ee06e374
Optimize unit test; support overriding constants in per-test-suite ( #15628 )
...
* Optimize unit test; support overriding constants in per-test-suite
2023-07-06 18:00:03 +08:00
Ling Zhan
08d9a34457
character controller api tweaks ( #15621 )
...
* character controller api tweaks
* tweak
2023-07-05 15:28:18 +08:00
minggo
7ef995b655
Merge branch 'v3.8.0' into v3.8.1-merge-v3.8.0
...
Conflicts:
cocos/3d/lights/spot-light-component.ts
cocos/animation/event/event-emitter.ts
cocos/physics-2d/box2d/physics-contact.ts
cocos/physics-2d/box2d/physics-world.ts
cocos/physics-2d/box2d/platform/physics-contact-listener.ts
cocos/physics-2d/builtin/builtin-world.ts
cocos/physics/framework/components/constraints/configurable-constraint.ts
cocos/spine/assembler/simple.ts
cocos/spine/skeleton.ts
native/cocos/editor-support/spine-wasm/spine-model.cpp
native/cocos/editor-support/spine-wasm/spine-model.h
native/cocos/editor-support/spine-wasm/spine-skeleton-instance.cpp
native/cocos/editor-support/spine-wasm/spine-skeleton-instance.h
native/cocos/editor-support/spine-wasm/spine-type-export.cpp
native/external-config.json
2023-07-03 15:25:13 +08:00
Leslie Leigh (李的序)
a0e3037ae1
Add test utils: vec3, quat equality matcher and pseudo random generator ( #15547 )
...
* Add test utils: vec3 equality matcher and pseudo random generator
* Add Quat jest matcher
* Tweak
* Update
2023-06-29 11:05:39 +08:00
Leslie Leigh (李的序)
899a3a9897
Fix animation clip frame event dispatching ( #15534 )
2023-06-27 11:26:46 +08:00
mmyduckx
d351ae7948
fix pacer-unit-test ( #15461 )
2023-06-19 09:44:59 +08:00
zhakesi
8534fbbfdb
spine wasm version ( #15309 )
...
* spine wasm version -fix conflict
* fix build and ci test -fix conflict
* fix for code review
* support binary format
* update exernal lib
* revert license
* fix type any
* update api docs
* fix api docs
2023-06-09 15:50:32 +08:00
Leslie Leigh (李的序)
2091f4617a
Marionette/StateMachine: fix any state won't match proc pose states ( #15381 )
2023-06-08 17:46:09 +08:00
Ling Zhan
bd2608bce7
[opt] cct api refactor ( #15360 )
...
* [opt] cct api refactor
* tweaks
* tweak
2023-06-08 12:22:27 +08:00
Leslie Leigh (李的序)
da23e6ae16
Refactor animation graph event dispatching mechanism ( #15330 )
...
* Refactor animation graph event mechanism
* Fix test
* Update
* Revert
2023-06-07 18:33:26 +08:00
dogeFu
09e000266d
feature : add EDITOR_NOT_IN_PREVIEW marco ( #15354 )
...
* feature : add marco for editor preview and refactor code with new marco
* refactor: replace GAME_VIEW with EDITOR_PREVIEW
* Revert "refactor: replace GAME_VIEW with EDITOR_PREVIEW"
This reverts commit e28953e9e7acbb49dc5bdc650b2ff65510d4b084.
* update cc config json
* refactor code
* remove uselese parentheses
* set ccglobal to be false
* skip global variable test case
2023-06-07 17:52:51 +08:00
Leslie Leigh (李的序)
41704deb74
Marionette/Stash: fix error if reenter() the stash but updated in later ( #15337 )
...
* Marionette/Stash: fix error if reenter() the stash but updated in later
* Optimize stash evaluate state
2023-06-07 11:43:38 +08:00
pandamicro
c8d3be08a3
Fix issues in Node.updateWorldTransform and UITransform.getBoundingBoxTo[World] ( #15273 )
...
* Fix transform update issue when only rotation is set to root node
* Fix UITransform.getBoundingBoxTo and UITransform.getBoundingBoxToWorld
* Improve API and test
* Fix native Node::updateWorldTransform
* Fix UITransform.getBoundingBoxTo
* Fix getBoundingBoxTo by ensuring one time rect transform
* Ignore zero sized rect for bounding box calculation
* Improve API doc
2023-06-07 11:10:28 +08:00
Leslie Leigh (李的序)
82e29f7ae5
Marionette/StateMachine: fix state motion time binding ( #15308 )
2023-06-05 11:54:09 +08:00
Leslie Leigh (李的序)
100167485d
Marionette/PoseGraph: allow specify start time for PoseNodePlayMotion ( #15306 )
2023-06-05 10:05:32 +08:00
Leslie Leigh (李的序)
b9964895c6
Marionette: adjust additive animation rule ( #15296 )
...
* Marionette: adjust additive animation rule
* Rename base -> ref
* Importer UI
2023-06-02 15:36:12 +08:00
Leslie Leigh (李的序)
f9f379df1e
Marionette/PoseGraph: fix that a pose node can be connected multi times ( #15231 )
2023-06-02 10:36:04 +08:00
Leslie Leigh (李的序)
e86f70523b
Marionette/PoseGraph: add node input option arraySyncGroupFollower ( #15226 )
2023-05-30 14:56:55 +08:00
Leslie Leigh (李的序)
aa20a47678
Marionette: add ratio input to PoseNodeAdditivelyBlend; add tests ( #15223 )
2023-05-30 13:32:42 +08:00
Leslie Leigh (李的序)
09586e82a9
Animation graph: fix embedded play evaluation ( #15198 )
2023-05-26 11:22:51 +08:00
SijieWang
820128d09a
Merge pull request #15175 from cocos/marionette-next
...
Pose Graph
2023-05-25 11:45:53 +08:00
Leslie Leigh (李的序)
f1472e4453
renameObjectProperty() shall not copy non-enumerable symbol properties ( #14194 )
2023-05-25 10:43:50 +08:00
Leslie Leigh (李的序)
24541a82de
Rename term "pose state" -> "procedural pose state" ( #15171 )
2023-05-24 18:42:09 +08:00
Leslie Leigh (李的序)
75e07f86a0
Pose graph: add motion playing and sampling node ( #15143 )
...
* Add PlayMotionNode, SampleMotionNode
* Fix
2023-05-24 17:33:09 +08:00
Leslie Leigh (李的序)
cee74cba32
Pose graph: add variable getting nodes ( #15151 )
...
* Pose graph: add variable getting nodes
* Fix unit test
2023-05-24 14:48:02 +08:00
Santy-Wang
d3a9b5a8b8
gradient misc optimization and add some helpful function ( #15032 )
...
* gradient misc optimization and add some helpful function
* keep old version and add new interface
* missing .
* mark as engineInternal
2023-05-24 13:59:29 +08:00
Leslie Leigh (李的序)
8b3d59d02c
Pose graph: add pose modifying nodes ( #15144 )
...
* Add pose modifying nodes
* Update
* i18n
2023-05-23 15:21:54 +08:00