cocos / cocos-docs

Manual docs content for Cocos Creator
https://docs.cocos.com
307 stars 462 forks source link

docs issue at: 2D 碰撞组件 #3010

Closed song-xiaobai closed 3 months ago

song-xiaobai commented 3 months ago

filePath: zh/physics-2d/physics-2d-collider.md content: Hello, does the current PolygonCollider2D component not support creation via code? I tried creating it through code, but the points property of the component doesn't contain the vertex information I want. I also checked the Regenerate Points function, and it doesn't seem to support calling it. So, is there a plan to support this in the future?

MrKylinGithub commented 3 months ago

Hi bro, If you are encountering some problems when using Cocos Creator, please go to our forum to post a thread. English: https://forum.cocosengine.org/latest Chinese: https://forum.cocos.org/