Commit Graph

69 Commits

Author SHA1 Message Date
qiuguohua bca35b2636 Update Harmonyos third-party library. (#15429) 2023-06-14 11:33:15 +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
Yiwen c2c3ffe73a Update external tag (#15361)
* [fix] add boundary to avoid physx assert error (#15321)

* sync external tag
2023-06-07 22:45:09 +08:00
qiuguohua 343393942c Fix harmonyos platform compilation failure. (#15262) 2023-06-02 14:55:55 +08:00
Yiwen 44b1616fb0 native external updates tag to develop-23 (#15172) 2023-05-24 18:46:44 +08:00
Yiwen 486b36319d [fix] physics constraint abnormal behavior and update external config to develop-22 (#15126) 2023-05-22 10:52:23 +08:00
Yiwen e2f9a91d89 update native external version tag (#15072) 2023-05-16 17:02:46 +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
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
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
江战 d963b0b21d Update external-config.json (#14652) 2023-03-24 15:18:35 +08:00
qiuguohua e68506916c Develop branch adapts to openharmony (#14582) 2023-03-20 14:18:52 +08:00
qiuguohua ee86fc40bd Native platform modifies exit process (#14141) 2023-02-15 17:11:28 +08:00
MoHai cc300827d5 [v3.7.1] update external to v3.7.1-2 (#14158)
* add stop interface to fix ar session error

* move armodule to .a lib and adjust interfaces

* fix parameter widthInMeters errror

* update external to v3.7.1-1

* upgrade external for ar ios lib fix
2023-02-07 16:05:50 +08:00
MoHai 2a194a2732 [v3.7.1] adjust ARModule (#14143)
* add stop interface to fix ar session error

* move armodule to .a lib and adjust interfaces

* fix parameter widthInMeters errror

* update external to v3.7.1-1
2023-02-05 13:34:39 +08:00
MoHai c1c1fa61e9 feat: update external config (#13973) 2022-12-30 13:35:13 +08:00
江战 5139110ea4 update license (#13950) 2022-12-29 15:55:28 +08:00
James Chen ed87e01520 Update swig version info. (#13847) 2022-12-19 15:09:08 +08:00
MoHai c7fba8b93c feat: update external config (#13771) 2022-12-09 14:57:15 +08:00
fqamic 0200d8da85 feat: update external config (#13751) 2022-12-09 10:47:50 +08:00
James Chen 04b15e44a5 Fix pass states could not be changed in material inspector panel and update swig template (#13707)
* Add se::Class::defineStaticProperty(const char *name, const Value &value, PropertyAttribute attribute = PropertyAttribute::NONE);
2022-12-07 15:18:23 +08:00
fqamic d4055f7e32 new basic capabilities of supporting handset ar and webxr (#13420)
* feat: add the basic capability of handset ar native

* feat: add handset input device, for ar camera pose

* feat: native pack tool supports xr platform name

* feat: web gl context supports webxr

* feat: webxr has been converted to screen coordinates via camera

* fix: pr ts-expect-error undefined xr

* feat: support webxr, and remove ar redundant code

* fix:xr-spaces gradlew permission error

* feat: revert redundant ar engine feature

* fix: eslint check error

* feat: remove redundant code

* fix: eslint check warning

* adjust armodule process in forward stage, mtl texture and jsb

* fix: exlint warning, and add license

* adjust ar lib and interfaces

* change webxr check interface

* merge external arlib header and move it to engine

* improve: update native external version

* move ar background stage to xr/rendering and move its init to webxr device in xr plugin

* fix format error

* fix format error

* adjust jsb_ar_manual, ARModule, ARBackground

* adjust arbackground

Co-authored-by: Parryzhai <1306895355@qq.com>
Co-authored-by: MoHai <1192652394@qq.com>
2022-11-24 13:33:50 +08:00
yangchao 81424d9d8c update external config (#13515)
* update external config
2022-11-23 18:13:10 +08:00
James Chen d8e1a1ee95 Fix crash if invoking binding code of cc::Device::getSafeAreaEdge() (#13445) 2022-11-21 13:35:25 +08:00
James Chen 32a6aba4fb Fix some swig warnings and fix the issue that Node::mobility is not bound, update swig to 4.1.0 release (#13425)
* Update swig config, fix some warnings

* Update TextureBase.h, don't make _width, _height public

* Revert genbindings.js

* Update external to develop-8
2022-11-18 11:56:09 +08:00
James Chen cf8675a949 fixed #13232: [feature] Support to pass commandline arguments to JS (#13268)
* [feature] Support to pass arguments to execution file and export them to JS ( native.process.argv ) .
2022-11-10 09:47:28 +08:00
santy-wang 91c884362d Merge branch 'v3.6.2' of github.com:cocos-creator/engine into v3.6.1-sync 2022-10-11 20:12:14 +08:00
bofeng-song 8f40d29372 refine: remove appCompat's dependency (#12854)
* refine: remove appCompat's dependency
2022-09-30 10:21:10 +08:00
Zeqiang Li e4930f3332 a compatible way of data copy & default buffer size for uniform buffer (#12935)
* a compatible way of data copy & default buffer size for uniform buffer

* update external config
2022-09-28 16:22:06 +08:00
Zeqiang Li 097e29b2c2 Export texture info for wgpu WGPU_CI_ON (#12926)
* export texture info for wgpu

* missing js file

* update external config

Co-authored-by: Zeqiang Li <zeqiang-li@outlook.com.com>
2022-09-28 10:23:05 +08:00
Zeqiang Li f730a810a1 wgpu: remove reinit on same object (#12799) 2022-09-27 10:33:51 +08:00
fqamic 18d2d57447 improve: update external version and remove some redundant codes (#12759)
* feat: update external version

* improve: remove redundancy code
2022-09-14 16:45:40 +08:00
fqamic b7c717492f improve: update engine to support xr development (#12727)
* improve: update engine to support xr development
1.Fixed slider moving in wrong direction
Use local coordinates for determination
2.fix: XR error opening thread detach
The build supports Vulkan and OpenGLES, but when the device does not support Vulkan, the XR platform cannot support thread detach.
3.update xr common

* fix: clang tidy error

* improve: update external version
2022-09-09 16:09:27 +08:00
James Chen 645b14088c Update external: disable warning for unused variable in auto generated glue code (#12691) 2022-09-06 15:17:16 +08:00
minggo aba9fdb63f Merge branch 'v3.6.1' into merge_v3.6.1 2022-09-02 20:08:18 +08:00
江战 fc05e55032 3.6 genbindings abort on error (#12659)
* check return code

* Update native/tools/tojs/genbindings.py

* am update external
2022-09-02 18:50:28 +08:00
江战 a32569741f 3.6.1 Android dont link unused libraries (#12537)
* Update external-config.json

* enable flags in engine
2022-08-25 11:51:09 +08:00
mmyduckx 24a35ba251 ios websocketServer support (#12467) 2022-08-23 14:05:47 +08:00
James Chen c7e60d2bcb Use swig to generate js bindings (#12410) 2022-08-16 10:48:12 +08:00
江战 f15a83ee98 Update external-config.json (#12407) 2022-08-15 09:54:55 +08:00
timlyeee 7075a2fa36 Update external-config.json (#12268) 2022-07-29 14:46:18 +08:00
timlyeee b3ccf93d50 Revert "Update external-config.json (#12224)" (#12246)
This reverts commit d947f1d679.
2022-07-28 14:59:15 +08:00
timlyeee d947f1d679 Update external-config.json (#12224)
Update external-config to fix spirvleak on mac
2022-07-28 09:37:45 +08:00
yangchao cae515bd17 update external-config.json (#12084) 2022-07-20 13:36:21 +08:00
江战 28b3a47977 Update external-config.json (#11965) 2022-07-13 17:45:34 +08:00
timlyeee f6a12b305c Change copy resources logic for v8 dlls (#11876) 2022-07-06 18:34:39 +08:00
James Chen b6deb4ac91 [android] Use optimized compile and link flags to make shared library file (.so) smaller (#11792) 2022-07-04 17:35:41 +08:00
James Chen f8a2d9f29e Update render-config.json, add cmake macro for geometry-renderer & debug-renderer modules. (#11767) 2022-06-30 17:10:59 +08:00
bofeng-song 6b3ee46959 fix crash due to wrong resize event notify (#11672) 2022-06-23 18:02:48 +08:00
bofeng-song ea36cfc9c4 fix anr while enter background (#11500) 2022-06-15 08:46:51 +08:00