当前位置:网站首页>Cocos creator compilation game cannot read property 'polygonpolygon' of undefined
Cocos creator compilation game cannot read property 'polygonpolygon' of undefined
2022-06-13 06:37:00 【l8487】
My little game uses the collision detection function .
- Before solving the problem ,PC The end game cannot open the interface that uses collision detection .
The performance at that time was as follows :
1、 The local browser is normal .
2、cocos creator When building and publishing , Don't check “ Debug mode ”.
The wechat developer tool functions normally .
After being released to wechat games ,android normal ,ios The mobile phone is normal ,PC The end game cannot open the interface that uses collision detection .
- today , When building and publishing , Check “ Debug mode ”
And found that , When the collision detection interface is opened and used , Wechat developer tool reports an error (Cannot read property 'polygonPolygon' of undefined)
- So I think of PC This interface cannot be opened at the end .
- terms of settlement .Cocos Creator-> project -> Project settings -> Module settings -> Check “intersetion”
This intersetion The general purpose of the module can be
Move to https://blog.csdn.net/u014454791/article/details/64121671
边栏推荐
- synchronized浅析
- Scrcpy source code walk 2 how to connect a client to a mobile server
- Huawei developer certification and deveco studio compiler Download
- App performance test: (I) startup time
- 【2022高考季】作为一个过来人想说的话
- Glide usage notes
- [virtual machine] VMware virtual machine occupies too much space. Solution
- Notifyitemchanged flash back
- Hidden and wx:if
- 无刷直流电机矢量控制(四):基于滑模观测器的无传感器控制
猜你喜欢

After clicking the uniapp e-commerce H5 embedded applet, the page prompts "the page iframe does not support referencing non business domain names"

Omron Ping replaces the large domestic product jy-v640 semiconductor wafer box reader

MFS详解(七)——MFS客户端与web监控安装配置

Notes on wechat applet development

c语言对文件相关的处理和应用

JetPack - - - LifeCycle、ViewModel、LiveData

Relationship between fragment lifecycle and activity

端午安康,使用祝福话语生成词云吧

MFS详解(六)——MFS Chunk Server服务器安装与配置

Intelligent digital asset management helps enterprises win the post epidemic Era
随机推荐
Applet export (use) public function, public data
PHP redis makes high burst spike
Win10 drqa installation
Kotlin collaboration - simple use of collaboration
Interface oriented programming in C language
synchronized浅析
Command line for database
Cross process two-way communication using messenger
App performance test: (I) startup time
[DP 01 backpack]
Explication détaillée du triangle Yang hui
[JS] array de duplication
[JS] handwriting call(), apply(), bind()
1+1 > 2, share creators can help you achieve
Dynamic link library nesting example
Notifyitemchanged flash back
SSM integration
Ijkplayer code walkthrough player network video data reading process details
347. top k high frequency elements heap sort + bucket sort +map
Kotlin data flow - flow