Commit Graph

20309 Commits

Author SHA1 Message Date
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
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
江战 3bf3b624d6 fix node.setSiblingIndex (#14956) 2023-05-15 11:14:36 +08:00
fqamic 73ebb4acb6 feat: xr platform sync android template and update spaces sdk (#15035) 2023-05-14 23:10:52 +08:00
qiuguohua 641a2fe2a4 Release the listener when destroyed. (#15036) 2023-05-14 23:08:34 +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
AFeiYA ac5bd644cf smart material support maya standard surface specular color (#15041) 2023-05-12 15:20:12 +08:00
yinkaile ed038be6ac add shadow pass & add usePostProcess (#15027) 2023-05-12 11:21:17 +08:00
江战 976b13adf7 fix pass property binding (#15031) 2023-05-12 10:39:32 +08:00
徐兵 96e328eecb fix shader compiling error (#15026) 2023-05-12 09:58:36 +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
PP 9e0049b32c fix: mis remove jsb.Shadows (#15022) 2023-05-11 15:56:48 +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