cocos-example-projects
cocos-example-projects copied to clipboard
### 在项目中,需要获取到点击了地球仪(可随意旋转的球体)上的哪个坐标点。 ``` 如果地球仪没有发生旋转,可以正常获取到。 如果地球仪发生了3D旋转,这时候获取到的hitPoint坐标,和旋转之前一样,如何变成地球仪经过旋转后的相对坐标系中的坐标呢?? ``` --------------------------------------- 『在官方示例中,修改了碰撞体的旋转值,修改前后,hitPoint值没有发生变化,期望是获取到旋转后的坐标信息』
https://github.com/cocos/cocos-example-projects/blob/4286e0e46e23850bac3b5b26e971c89512b48fc8/native-script-bridge/native/engine/ios/JsbBridgeTest.mm#L13
Bumps [protobufjs](https://github.com/protobufjs/protobuf.js) from 6.10.2 to 6.11.3. Release notes Sourced from protobufjs's releases. v6.11.3 6.11.3 (2022-05-20) Bug Fixes deps: use eslint 8.x (#1728) (a8681ce) do not let setProperty change the prototype...
Bumps [protobufjs](https://github.com/protobufjs/protobuf.js) from 6.8.9 to 6.11.3. Release notes Sourced from protobufjs's releases. v6.11.3 6.11.3 (2022-05-20) Bug Fixes deps: use eslint 8.x (#1728) (a8681ce) do not let setProperty change the prototype...
https://youtu.be/m7那你,a)QzHacOFM
Cocos Creator 3.4.2 不再使用ammo.js而是自己剪裁了个魔改版 工程内对于 ammo.js 的引用已经废了
jsb is not defined
Bumps [protobufjs](https://github.com/protobufjs/protobuf.js) from 6.10.2 to 6.10.3. Changelog Sourced from protobufjs's changelog. Changelog 7.0.0 (2022-07-08) ⚠ BREAKING CHANGES drop support for Node 4, 6, 8, 10 (#1764) move command line tool...
master分支,commit: `5acd26218d3915169679a288ebf65b9ca1f96027` 测试protobuf示例项目 `https://github.com/cocos/cocos-example-projects/tree/master/protobuf ` 时出现以下报错:    编辑器是项目原本的版本 v3.6.3:  没有修改任何东西,项目开始前按照 `https://github.com/cocos/cocos-example-projects/blob/master/protobuf/README.md` 执行: ```sh cd tools/compile-proto npm install ``` 然后运行、点击然后就报错了
官方文档关于protobuf的内容不够详细,最好完善一下,而且示例代码的这种导入方式比较奇怪。生成js的方式跟官方也不一样