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
dogeFu
8d95d24ee0
fix: support tooltips in effect for native scene ( #14812 )
2023-04-18 09:44:11 +08:00
江战
fb1d0f2c4c
Generate binding code during the build process. ( #14655 )
2023-03-30 16:08:28 +08:00
minggo
313c58fe33
Improve utils api doc ( #13922 )
2022-12-28 15:04:56 +08:00
pandamicro
afd22296b4
MIT license update and to new year 2023 ( #13927 )
...
* Cpp MIT license update and to date
* TS MIT license update and to date
2022-12-28 11:25:12 +08:00
James Chen
d9dd6ecc74
Add ccstd::monostate for the first type of ccstd::variant. ( #13762 )
...
* Add ccstd::monostate for the first type of ccstd::variant.
* Update native/CMakeLists.txt
* Remove unused cc::MaterialPropertyVariant conversion in jsb_conversions_spec.h
It’s implemented in jsb_conversions.h by template.
* Update ccstd::variant conversion in jsb_conversion.h
* Don’t use std::get<NUMBER> to get element in variant.
* Update conversion for ccstd::variant.
* Fix the errors clang-tidy reported.
* Fix particle-align testcase reports the script error: _updateWorldBoundDescriptors is undefined
* Update TemplateUtils.h
2022-12-19 11:58:11 +08:00
江战
cade7f10d4
JSB: bind some geometry types ( #13681 )
2022-12-07 14:26:32 +08:00
James Chen
e56b4c3cb8
Fix material inspector missing elements ( #13674 )
...
* Add missing properties in EffectAsset.h for editor
* Move recordAsBool to PassUtils, IPassInfoFull::propertyIndex needs to be optional
* Add IPropertyEditorInfo struct.
* Fix macroRecordAsBool
2022-12-06 15:06:08 +08:00
江战
046a2b1378
Re-impl CC_ASSERT & CC_ASSERTF ( #13588 )
2022-12-05 17:12:30 +08:00
江战
303d5a66db
fix physcs ( #13302 )
2022-11-15 15:24:48 +08:00
Ling Zhan
5ee54d97ff
Curve raycast ( #13086 )
...
* PhysicsSystem add line-segments-raycast
* 规范接口注释
* PhysicsRayResult add id property
* tweak
* tweak
* 接口命名
* tweak
* native
* add PhysicsLineStripCastResult
* tweak
* tweak
2022-11-15 13:47:52 +08:00
江战
7ccd14e6e6
JSB export math class : Vec2/Vec3/Vec4/Quat/Mat3/Mat4/Color ( #12968 )
2022-10-31 17:24:54 +08:00
zxx43
28dcb4ab40
V3.6.2 format return null error fix ( #12973 )
2022-10-08 10:56:58 +08:00
zxx43
89664f6acd
V3.6.2 fix particle crash ( #12913 )
...
* fix native crash
* revert to pointer
* revert
* do not use reference
2022-09-27 19:12:28 +08:00
江战
b518d9e8f8
add deprecation checks ( #12266 )
2022-07-29 14:42:52 +08:00
江战
74e8f2323d
[3.6.0] add deprecated funtions ( #12155 )
2022-07-28 18:31:09 +08:00
James Chen
58a6059e0c
Fix spine memory leak when restarting game and fix memory leaks in js_se_setExceptionCallback and nativevalue_to_se(const cc::Data &from, ...) ( #12206 )
...
* Fix spine memory leak when restarting game.
* Fix memory leaks in js_se_setExceptionCallback and nativevalue_to_se(const cc::Data &from, ...)
* Cleanup all hooks after 'AfterCleanupHookArray' is executed since user may add hooks in 'AfterCleanupHook' by mistake.
For example which in SharedBufferManager::afterCleanupHandle.
* Fix a memory leak in `operator=(TypedArrayTemp &&o)
* Fix spine memory leak, use PersistentHandleVisitor to iterate JSB objects in Object::cleanup.
* Update Class.cpp, use only one internal field.
* Remove JSB mapping in visitor callback.
2022-07-28 15:17:44 +08:00
James Chen
ba4a98a71c
Keep the struct in cc::Rect the same as which in ts ( #11864 )
...
Co-authored-by: Yiwen <15225434259xue@gmail.com >
2022-07-06 09:54:24 +08:00
Yiwen
d1e141990b
fix camera jsb ( #11842 )
...
* fix camera jsb
2022-07-05 11:38:11 +08:00
timlyeee
b8cc10e649
[fix bug]1. crash when create mesh with _struct undefined, 2. when get property from material ( #11762 )
2022-07-01 10:17:11 +08:00
Ling Zhan
aa001a9f9b
fix PhysX pointer loss percision on Android API 30 ( #10811 ) ( #11624 )
2022-06-29 09:54:29 +08:00
mmyduckx
035cefdd7f
fix forward declaration compile error ( #11720 )
2022-06-28 11:30:48 +08:00
mmyduckx
63e5694cfe
Sync shadow info ( #11259 )
...
* sync ts shadowInfo planeDirection&planeHeight
2022-05-31 14:27:41 +08:00
江战
60a918965c
seval_to_Data accept arraybuffer ( #11280 )
2022-05-30 16:17:58 +08:00
James Chen
b65b47c04b
[v3.6][native] Cleanup code, minor changes ( #11237 )
...
* [v3.6][native] Cleanup code, minor changes
2022-05-27 09:46:04 +08:00
James Chen
024737aebc
fixed #11195 : Rename cc::optional, cc::any, cc::variant to ccstd::optional, ccstd::any, ccstd::variant ( #11197 )
...
* Move Any.h/Optional.h/Variant.h to base/std and rename them to lowercase.
* fixed #11195 : Rename cc::optional, cc::any, cc::variant to ccstd::optional, ccstd::any, ccstd::variant
* Format code.
2022-05-24 18:47:16 +08:00
minggo
271cc5cf23
Remove some format rule ( #10919 )
...
* remove some rules
* format all codes with new format rule
2022-05-04 13:09:24 +08:00
minggo
8e7669bf92
replace assert with CC_ASSERT ( #10913 )
...
* replace assert with CC_ASSERT
2022-04-29 10:18:41 +08:00
bofeng-song
719315add2
fix editor to do ( #10827 )
2022-04-22 09:51:16 +08:00
minggo
444bfe31c4
Refactor CC_NEW/CC_DELETE ( #10810 )
...
* replace CC_NEW/CC_DELETE with ccnew/delete
2022-04-21 16:39:34 +08:00
李吉林
f195f7dd2d
add spline ( #10684 )
...
* add spline
2022-04-11 15:49:20 +08:00
minggo
ecbc619e4b
remove unneeded macros ( #10474 )
...
* remove unneeded macros
* add cc_ for some macros
2022-03-25 11:01:48 +08:00
Cocos Robot
a2df4e4dbd
[ci skip][AUTO]: Automated clang-format update: 771de57fc2c1edbaaf3ae94e77f9801b0379cc6c ( #10469 ) ( #10472 )
...
Co-authored-by: cocos-robot <cocos-robot@cocos.com >
2022-03-24 13:50:39 +08:00
minggo
7f4cb9e3b1
Remove string ( #10469 )
...
* replace std::string with ccstd::string
2022-03-24 11:53:10 +08:00
minggo
ccc84b06b6
replace std::unordered_map with ccstd::unordered_map ( #10459 )
...
* replace std::unordered_map with ccstd::unordered_map
2022-03-23 16:44:06 +08:00
Cocos Robot
24d84664f8
[ci skip][AUTO]: Automated clang-format update: 3de15842004cba2142ec0fecd82876d8f6a28236 ( #10402 ) ( #10424 )
...
Co-authored-by: cocos-robot <cocos-robot@cocos.com >
2022-03-21 16:04:49 +08:00
minggo
34bf14269c
unify stl ( #10402 )
...
* add ccstd::vector
* replace cc::vector with ccstd::vector
* replace std::vector with ccstd::vector
* do not include <vector>
2022-03-21 15:55:02 +08:00
minggo
164d4ccc14
Rename Vector and Map ( #10206 )
...
* Vector -> RefVector
* Map -> RefMap
2022-03-02 09:56:38 +08:00
江战
c3bfc1f439
fix function block ( #10147 )
2022-02-22 16:23:51 +08:00
bofeng-song
7e2fce85f9
sychronize engine to native ( #10099 )
...
* sychronize engine to native according to https://github.com/cocos-creator/engine/pull/10041
2022-02-15 10:09:53 +08:00
bofeng-song
cdb02a37a0
fix TextureCube crash & skybox not work ( #4171 )
2022-01-14 13:38:12 +08:00
bofeng-song
a3ffa021e0
fix TextureCube todo ( #4156 )
2022-01-12 09:36:51 +08:00
bofeng-song
1a4a6ad5f2
fix todo: ( #4149 )
...
1. only support convert integer string to integer
2. fix fogInfo sevalue_to_native of jsb_conversions_spec.cpp
3. fix ShadowsInfo sevalue_to_native of jsb_conversions_spec.cpp
4. add leak field of FogInfo & Shadows at scene.ini
5. fix todo of SkeletalAnimationUtils.h
2022-01-11 16:51:47 +08:00
bofeng-song
07ea4d4cce
remove float from IPreCompileInfoValueType & MacroValue ( #4151 )
2022-01-10 16:32:22 +08:00
minggo
5410a48a58
Implement more logic in native ( #4131 )
...
Co-authored-by: bofeng.song <bofeng.song@chukong-inc.com >
Co-authored-by: dumganhar <dumganhar@gmail.com >
Co-authored-by: mmyduckx <308303735@qq.com >
Co-authored-by: Patrice Jiang <397136899@qq.com >
Co-authored-by: 江战 <40414978+PatriceJiang@users.noreply.github.com >
2022-01-07 18:39:40 +08:00