Commit Graph

20338 Commits

Author SHA1 Message Date
Leslie Leigh (李的序) a7a16a625b Animation: lint and tweak (#15104) 2023-05-18 16:14:07 +08:00
minggo cec080ebce Merge pull request #15101 from shrinktofit/marionette-next
Merge remote-tracking branch 'upstream/develop' into marionette-next
2023-05-18 14:49:50 +08:00
Leslie Leigh 464342eb99 Merge remote-tracking branch 'upstream/develop' into marionette-next 2023-05-18 14:46:30 +08:00
徐兵 7be5ca8012 calculate scene scale for hbao (#15098) 2023-05-18 14:31:59 +08:00
dogeFu 655dcb94bf fix: discard nestedPrefabRoot node when serialized (#15092)
if component's property reference a nested prefabInstance node,the node will be save in scene file.But it's a nested prefab,so it should not be.
2023-05-18 14:03:34 +08:00
Leslie Leigh (李的序) 17cb4796f1 Animation graph: optimize some evaluation structures (#15049)
* Optimize some evaluation structure

* Update cocos/animation/marionette/state-machine/state-machine-eval.ts
2023-05-18 13:55:00 +08:00
dogeFu 3d80581e58 [Refactor] inspector 使用新的 undo 接口 (#14942) 2023-05-18 13:53:59 +08:00
Leslie Leigh (李的序) 038f386bec Lint rule: prefer interface style type definition (#15020)
* Lint rule: prefer interface style type definition

* Adapt lint

* Fix lint style
2023-05-18 13:37:54 +08:00
hyde zhou 34a5022096 develop pipeline interface change (#15083) 2023-05-18 13:00:23 +08:00
alpha c127228f47 fix: download bundle may be missing error (#15075) 2023-05-18 12:25:15 +08:00
Leslie Leigh (李的序) 4bcd1795f2 Marionette: add test in case of states of transition yielding nullish (#14733) 2023-05-18 11:03:24 +08:00
Ling Zhan ae724da8cf [fix] physics-enum adds doc (#15095)
* [fix] physics-enum adds doc

* tweaks

* tweaks
2023-05-17 18:56:47 +08:00
Ling Zhan 1032bd9508 Sweep Test (#15068)
* init

# Conflicts:
#	cocos/physics/physx/physx-adapter.ts

# Conflicts:
#	cocos/physics/physx/physx-adapter.ts

* init sweepBoxClosest

# Conflicts:
#	cocos/physics/physx/physx-world.ts

* back

* physx boxCastClosest works now.

* add physx sweepAll

* init bullet sweepBoxClosest. not test yet

* add bullet sweepBox

* bullet add internal functions: sweep/sweepClosest

* init physx c++ sweepBox/sweepBoxClosest

* add sweepSphere, sweepCapsule; add unit test.

* add sweep api doc

* revert physx asm/wasm loading func

* tweaks

* add error log for builtin and cannon.js

* builtin and cannon.js use warnid when calling sweep

* tweak api doc
2023-05-17 18:37:03 +08:00
zxx43 02e092b3d9 add line positions type (#15089) 2023-05-17 17:58:02 +08:00
qiuguohua be5eae04f5 Add ‘screen.on’ interface to listen to screen-related events. (#15080)
* 1、Add ‘screen.on’ interface to listen to screen-related events.
2、Deprecate ‘setResizeCallback’ interface

* Modify comment errors
2023-05-17 17:36:54 +08:00
Leslie Leigh (李的序) 5b32396567 Update web-interface-check.yml (#15094) 2023-05-17 17:15:34 +08:00
Leslie Leigh (李的序) ea5eb9ae23 Update web-interface-check.yml (#15091) 2023-05-17 16:31:57 +08:00
zhakesi 49f92e3225 fix spine with a mask effect not work (#15052) 2023-05-17 16:17:06 +08:00
troublemaker52025 92bf626ea6 fix hbao in post process pipeline (#15077) 2023-05-17 16:15:57 +08:00
jk20012001 4c2bed1c76 update shader code and i18n (#15060) 2023-05-17 16:14:42 +08:00
Ling Zhan 8bc85cc577 IPhysicsEngineId replaces ammo.js with bullet (#15070)
* IPhysicsEngineId replaces ammo.js with bullet

* put back "string"
2023-05-17 15:58:18 +08:00
Zach Lee 43f835b7bd fix: vb ib indirect should be shared. (#15062) 2023-05-17 15:44:53 +08:00
Yiwen 96c4927a28 add support to change connected body for joint component (#14609)
* complete implement of joint.setConnectedBody

* fix c++ joint issues

* clean code
2023-05-17 15:24:39 +08:00
Yiwen 923278904a Fix hinge constraint rotation (#14085)
* Fix hinge constraint rotation

1. fixed hinge constraint rotation
2. correct docs
3. add tooltip for hinge constraint

* stage

* updates

* update

* vanishing pivotB when connected to world frame

* stage

* update fixed constraint behavior when bind to world frame
2023-05-17 15:23:35 +08:00
Leslie Leigh (李的序) 79b132d85e Update web-interface-check.yml (#15087) 2023-05-17 14:33:41 +08:00
Leslie Leigh (李的序) 330386b22e Update web-interface-check.yml (#15085) 2023-05-17 14:22:13 +08:00
minggo 3a6e0ca2ba Merge pull request #15067 from cocos/develop
Merge develop into marionette-next
2023-05-17 14:06:57 +08:00
Leslie Leigh (李的序) 859140bf96 Reverse the arguments meaning of Transform.multiply (#15084) 2023-05-17 14:01:18 +08:00
江战 6f758de0c2 Update jsb_conversions.h (#15082) 2023-05-17 13:37:30 +08:00
Jiujiang Liu 6bcc290b5b Update mesh-preview.js (#13384)
copywriting Adjustment
2023-05-17 11:50:31 +08:00
袁炜海 2bba922b49 feat: inspector support show text-like file (#15045)
* feat:inspector support show text-like file

* feat: add common.js for importer whith *

* feat: create text-like-read.js

* feat: add renderText
2023-05-17 10:38:34 +08:00
hyde zhou 1fd59ceea9 develop pipeline fix missing uniform array size manual registration (#15071) 2023-05-17 10:07:37 +08:00
James Chen 0adc9e6cbf Disable some swig warnings. (#15076)
* Disable some swig warnings.

* Add warning reference
2023-05-17 09:51:09 +08:00
troublemaker52025 034bbbff58 fix hbao native engine crash (#15073) 2023-05-16 18:11:29 +08:00
jk20012001 cfc95fa4ce add hbao and skin to custom pipeline, and float output support (#15069) 2023-05-16 17:48:35 +08:00
Yiwen e2f9a91d89 update native external version tag (#15072) 2023-05-16 17:02:46 +08:00
troublemaker52025 4d33b97b52 fix jsb binding native error for skin (#15063) 2023-05-16 16:57:45 +08:00
mmyduckx 16244590d4 fix mac screen change view not resize bug (#15046)
* fix mac screen change view not resize bug
2023-05-16 16:25:26 +08:00
Leslie Leigh (李的序) 4dec756a51 Add interface check workflow back (#15065)
* Revert "remove interface check workflow (#14290)"

This reverts commit a20fc2d837.

* Workflow: modify "interface check" workflow to solve security problem

---------

Co-authored-by: PP <chinese1236@qq.com>
2023-05-16 13:36:58 +08:00
hyde zhou ae5d25924e Develop pipeline (#15030) 2023-05-16 13:03:28 +08:00
bofeng-song 477e197312 fix taobao's location missing property (#15054) 2023-05-16 11:55:20 +08:00
bofeng-song 5e023355ab fix wrong orientation set (#15064) 2023-05-16 11:54:05 +08:00
Ling Zhan 9cd5212d18 Character Controller (#14848)
* back.boxCCT works now. capsuleCCT not collider correctly

* refactor

* cct 事件系统初步可用。todo 碰撞filter

* init cct group and mask

* queryFilterCB

* this the first working version

* tweaks

* init bullet character controller. todo: events, autoStep bug, maxSlope bug

* bullet cct onShapehit

* physx native works now. todo: BoxCharacterController

* add physx-native BoxCharacterController

* cct filters redundant events

* cct velocity

* cct detectCollision not working

* cct detectCollisions works in physx

* Character controller supports setDetectCollisions: collision detection without calling move()

* cct center

* bt.CharacterController_setContactOffset,CharacterController_setStepOffset,CharacterController_setSlopeLimit

* bullet cct collision event use last shoot

* tweaks

* cct doc

* fix bullet box-cct hit callback

* add cct export

* feat cct setOverlapRecovery

* cct delete useless code in native physics

* tweaks: cct remove useless code

* fix cct bullet group mask: update group and mask by re-adding cct to physics world. not tested

* tweaks

* tweaks

* fix bullet-cct not emit collision: add bullet updateNeedEmitCCTEvents

* tweaks

* fix cct supports enable/disable

* add cct imp null check

* cct not to expose detectCollisions and OverlapRecovery at this moment

* physx/bullet cct支持节点缩放.todo: bullet cct(setRadius/Height)还有bug 无法运行时改变,只能在初始化的时候设定。physx c++待支持。

* c++ physx cct supports node scale

* fix cct physics c++ forgets to remove cct from scene when destroyed

* [fix] physx cct set climbing mode to PxCapsuleClimbingMode.eCONSTRAINED

* add cct unit test and multiple tweaks

* multiple tweaks and add cct center for physx c++

* tweak

* tweaks

* tweaks

* external version: develop-20

* tweaks
2023-05-16 10:03:13 +08:00
PP c14e877c20 set WASM_SUPPORT_MODE as internal (#15061) 2023-05-16 09:36:41 +08:00
hyde zhou 64f3eb2c13 avoid evaluating copy constructor of non-arithmetic type (#15056) 2023-05-15 18:51:35 +08:00
徐兵 5181a52162 Fixing plane reflection main up direction (#15058) 2023-05-15 18:30:11 +08:00
changhua 81af6ebcdf [Optimize] update mipmaps for changeimage type (#14336)
* fix change mipmaps error

* update

* update
2023-05-15 16:14:51 +08:00
changhua 638fa592ba [Feature] add fbx lod template (#14967)
* fbx add lod template

* update

* 添加遮罩

* update

* update review

* update

* update

* update

* update
2023-05-15 16:13:07 +08:00
troublemaker52025 a3a245ef42 delete skin jsb settings (#15055) 2023-05-15 12:58:27 +08:00
tjunxin ca877208cb Clarify the error message when the device does not support webGL2 (#14951)
Clarify the error message when the device does not support webGL2,avoid confusion with the webGL error message.
2023-05-15 12:05:04 +08:00