Giter VIP home page Giter VIP logo

cocos-example-projects's Issues

对于移动端与PC 端事件处理感觉不太友好

首先 用UA 来区分设备类型感觉不是很 靠谱 ,如果能开放用户配置设备类型选项更为友好
之前遇到的问题发现 mini盒子使用打包后web app 所有键盘鼠标事件不会执行导致 鼠标 无法操作
查看源码发现导致问题的根本是
image
是处理UA 进行了拦截 这导致用户必须修改源码才能进行使用 希望开放对应端口 这样就有用户主动选择更为友好
image

protobuf示例报错 awesome is not defined

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 执行:

    cd tools/compile-proto
    npm install

然后运行、点击然后就报错了

通过射线检测获取到的hitNormal/hitPoint数据问题???

在项目中,需要获取到点击了地球仪(可随意旋转的球体)上的哪个坐标点。

如果地球仪没有发生旋转,可以正常获取到。
如果地球仪发生了3D旋转,这时候获取到的hitPoint坐标,和旋转之前一样,如何变成地球仪经过旋转后的相对坐标系中的坐标呢??

『在官方示例中,修改了碰撞体的旋转值,修改前后,hitPoint值没有发生变化,期望是获取到旋转后的坐标信息』

打开工程 show-cases报错

系统: mac os big sur 11.3.1
**creator版本:**3.4.0 and 3.4.1
**浏览器:**chrome 98.0.4758.80

别的工程运行正常,工程 show-cases所有场景都报错,哪怕是我自己创建的一个空scene,也会报错。

报错信息:
[Asset DB] 未支持的 GLTF 扩展:KHR_materials_pbrSpecularGlossiness 0e613d01-9a32-4872-aa9e-d24c500ebe50
[Preview]load cce:/internal/x/cc failed
[Preview]Error loading cce:/internal/x/cc (SystemJS Error#3 https://git.io/JvFET#3)
[Preview]Error: Error loading cce:/internal/x/cc (SystemJS Error#3 https://git.io/JvFET#3)
[Asset DB] 未支持的 GLTF 扩展:EXT_lights_image_based 8c722836-849e-42f2-b198-39ef6bbfb248

3.4

jsb is not defined

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.