Copy and paste shape between custom outline and custom physics shape

In the sprite editor, it is impossible to copy and paste the vertices between the custom physics shape and the custom outline. Even though the editing mechanism is exactly the same. One would expect this to work but it doesn’t…

We use both of these for various mechanics in our game and currently for every sprite we have to manually edit the vertices two times which is really tedious.

Would be a lifesaver if this would be possible.

1 Like

Exactly. You can use .meta file of sprite to copy-paste the custom outline to physics shape. But they should have been integrated that feature! Even further, you can use some math and do it in Debug mode of editor. But i prefer this way. Simple and we see the exact coordinates
9854022--1418943--upload_2024-5-25_0-44-21.png

3 Likes

Thanks for the workaround! But agreed… this is a major oversight and should be integrated.

Thank you for your feedback @bartofzo and @Wilhelm_LikeAStar

If you are proficient with C#, you could use the Sprite Editor Data Provider API and more specifically copy-paste outlines between ISpriteOutlineDataProvider and ISpritePhysicsOutlineDataProvider.

I have forwarded your feedback to the team about the copy-paste functionality between these two modules.

Thank you for this! Saved me hours of tracing different sprite outlines.