Commit Graph

5275 Commits

Author SHA1 Message Date
alpha c127228f47 fix: download bundle may be missing error (#15075) 2023-05-18 12:25:15 +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
troublemaker52025 92bf626ea6 fix hbao in post process pipeline (#15077) 2023-05-17 16:15:57 +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
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 (李的序) 859140bf96 Reverse the arguments meaning of Transform.multiply (#15084) 2023-05-17 14:01:18 +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
troublemaker52025 4d33b97b52 fix jsb binding native error for skin (#15063) 2023-05-16 16:57:45 +08:00
hyde zhou ae5d25924e Develop pipeline (#15030) 2023-05-16 13:03:28 +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
徐兵 5181a52162 Fixing plane reflection main up direction (#15058) 2023-05-15 18:30:11 +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
江战 3bf3b624d6 fix node.setSiblingIndex (#14956) 2023-05-15 11:14:36 +08:00
troublemaker52025 e611594f59 fix cl error delete skin settings jsb binding (#15047) 2023-05-12 19:45:46 +08:00
Cocos Robot f7f2780215 [ci skip][AUTO]: Automated code generating update: 2162a0836fdc9bfb662a0be544ef33877438fcf3 (#15038) (#15044)
Co-authored-by: cocos-robot <cocos-robot@cocos.com>
2023-05-12 16:28:14 +08:00
troublemaker52025 e77453d9f3 fix main-light macro definition not updated in certain cases (#15038) 2023-05-12 15:41:22 +08:00
yinkaile ed038be6ac add shadow pass & add usePostProcess (#15027) 2023-05-12 11:21:17 +08:00
troublemaker52025 6a11716308 add hbao (#14981) 2023-05-11 18:57:38 +08:00
troublemaker52025 20f80926b1 add Separable-SSS skin (#14948) 2023-05-11 18:24:45 +08:00
James Chen 13d3087d9a fixed #14351: The auto-binding code for RenderEntity::STATIC_DRAW_INFO_CAPACITY is wrong (#15024)
* Update native/external-config.json, update swig.

* Update editor_support.i, don't bind unneeded classes.

* Update render-scene/scene/index.jsb.ts, add missing class variables.
2023-05-11 15:55:33 +08:00
ChiaNing 4f9f7b63dd change splash screen log position (#15017) 2023-05-11 10:54:02 +08:00
徐兵 3de7ba66c0 add property of reflection probe cubemap (#14999) 2023-05-10 18:31:12 +08:00
徐兵 0c31bb88a8 add new postprocess component -- bloom and fxaa (#15005) 2023-05-10 18:29:03 +08:00
hyde zhou 6cbad38241 pipeline changes after v3.7.3 (#14998) 2023-05-10 17:46:45 +08:00
zxx43 98a6965042 fix particle buffer update (#14978) 2023-05-10 14:29:52 +08:00
zxx43 ff93d985b0 change bindModule to private (#14588) 2023-05-09 17:40:45 +08:00
黄森斌 b7d7a78d24 fix BlendTarget blendDst incorrect type declaration (#14768) 2023-05-09 11:55:32 +08:00
徐兵 e28983fce6 fix update instance attribute failed under multipass (#15003) 2023-05-09 10:48:31 +08:00
PP 0b353b6e14 feat: support general WASM module in engine (#14974)
* support pal/wasm module

pal/wasm

* support sys.Feature.WASM and WASM_SUPPORT_MODE

# Conflicts:
#	pal/system-info/web/system-info.ts

# Conflicts:
#	pal/system-info/web/system-info.ts

# Conflicts:
#	pal/system-info/web/system-info.ts

* optimize bullet module


* update physx module

update

* revert tsconfig

* optimize WebGPU wasm import

* fix native wasm instantiate

* support wasm in EDITOR and PREVIEW

* optimize variable name

* update comment

* optimize code

* Update cocos/misc/webassembly-support.ts

* add physx wasm (#11) by yiwenxue

* add physx wasm

* update physx wasm instantiate.

* update, rename, etc.

* download external in CI

* fix physX wasm init

* move out external wasm type

* update external-config.json

* expand node max-old-space-size

* use console.debug

---------

Co-authored-by: Yiwen <15225434259xue@gmail.com>
2023-05-08 18:02:17 +08:00
Cocos Robot 046f5fa715 [ci skip][AUTO]: Automated code generating update: 10076c56da3446eb0efc04f2c4b88e15a0af41d1 (#14997) (#15000)
Co-authored-by: cocos-robot <cocos-robot@cocos.com>
2023-05-08 17:58:02 +08:00
pandamicro 247d44cfd2 Merge pull request #14993 from pandamicro/develop
Merge v3.7.3
2023-05-08 16:02:44 +08:00
Jiujiang Liu 821041de28 support light probe sphere volume control (#14906)
* support light probe sphere volume control
2023-05-08 13:43:02 +08:00
pandamicro 71a11a7a14 Merge remote-tracking branch 'origin/v3.7.3' into develop
# Conflicts:
#	.github/workflows/run_test_cases.yml
#	cocos/rendering/planar-shadow-queue.ts
#	native/cocos/renderer/pipeline/PlanarShadowQueue.cpp
2023-05-08 11:55:56 +08:00
troublemaker52025 64e4289ce9 Add planar-shadow pass to the built-in effects for enable instancing (#14958) 2023-05-08 11:16:34 +08:00
徐兵 10e50f55af add color grading and change post process effects folder (#14963) 2023-05-06 14:59:28 +08:00
minggo 1c40656d9d remove duplicated doc (#14926) 2023-05-06 10:26:43 +08:00
Santy-Wang f854b9e5fd add missing asset event (#14973)
* add missing asset event

* delete useless code
2023-05-05 19:10:13 +08:00
Santy-Wang 1599b46af5 export native asset interface (#14971) 2023-05-05 19:07:10 +08:00
jk20012001 d110e48a88 add post process manager and component (#14916) 2023-05-04 18:38:13 +08:00
李吉林 582654b9df fix vec2.angle comments (#14960) 2023-05-04 17:25:27 +08:00
李吉林 5ead7c61de delete batching (#14957)
* delete batching
2023-05-04 12:46:12 +08:00
James Chen 614a8b0579 Revert "Bugfix: fix nodeProto.setSiblingIndex (#14943)" (#14955)
This reverts commit 96e32ca969.
2023-05-04 11:35:12 +08:00
江战 96e32ca969 Bugfix: fix nodeProto.setSiblingIndex (#14943) 2023-05-04 10:00:28 +08:00
Leslie Leigh (李的序) 4a183b14c0 Fix exception in material uniform animation binding (#14764) 2023-04-28 09:22:37 +08:00