For performance reason i would like to use spriteshapecontroller’s tools such as insertPointAt() then convert the whole thing to a simple mesh.
possible ?
Yes, after adding points using insertPointAt(), try adding a Polygon Collider 2D or an Edge Collider 2D component to the game object with the Sprite Shape Controller
You can refer to this link for more info.
Edit:
However, the colliders that are automatically generated might not exactly represent the render geometry, you can refer to this script for a more accurate approach.
there must be some kind of misunderstanding.
I did not talked about colliders, just want convert the spriteShapeController’s mesh to a meshFilter’s mesh.
However i found a way to bypass it.