cocos / cocos-engine

Cocos simplifies game creation and distribution with Cocos Creator, a free, open-source, cross-platform game engine. Empowering millions of developers to create high-performance, engaging 2D/3D games and instant web entertainment.
https://www.cocos.com/en/creator
Other
8.23k stars 1.94k forks source link

[3.7] 2d Project editing animation will report an error #14243

Open OnlyKoei opened 1 year ago

OnlyKoei commented 1 year ago

Cocos Creator version

3.7.0

System information

window 10

Issue description

https://forum.cocos.org/t/topic/145583 2d projects that modify this property rotation(quaternion) will report an error. 2d 工程如果修改 rotation(quaternion) 会报错 企业微信截图_16764420314207 image

This module needs to be checked to avoid error reporting 需要勾选 3d 基础功能模块才不会报错 image

Relevant error log output

No response

Steps to reproduce

demo: file.zip

Minimal reproduction project

No response

pandamicro commented 1 year ago

We need to have a separated math module or put math module into core module, make sure 2d and 3d projects can directly use it