Before cut/slice:

After cut/slice:

Does anyone know how one could implement this type of cutting/slicing system to 2d rigidbodies (or sprites)/meshes? Once those rigidbodies have been sliced, they act as separate rigidbodies.

If so, please could you show how, using gdscript. Thank you ❤️?

Pictures taken from the mobile game “Ultra Sharp”.

I have not looked at it myself, but a quick Google search brought me to this repository: Godot-Sprite-Slice. It looks like it provide the functionality you are looking for.

@TwistedTwigleg said: I have not looked at it myself, but a quick Google search brought me to this repository: Godot-Sprite-Slice. It looks like it provide the functionality you are looking for.

Hi twisted! Thank you for doing some googling haha! I myself found this yesterday, but the only thing is, I wanted to see if there was another way to self code it without copying someone else’s code from the demo project ? I would love to learn how to do this myself without the need of using someone’s hard-coded project ❤️? They had to have learnt this from some sort of source ? I know that I can use this code as a source to learn from, yet I was interested if there were any here who knew how to do it themselves as well. Thanks for replying, and for your time my friend!!!

Also, if this isn’t the right way of replying to messages, please explain to me how to, as I’ve never used this forums platform! Thank you! ❤️?

I'm not sure if anyone here knows how to perform sprite slicing, but there might be those who know.

I might suggest looking at the GitHub repository and see if you can learn how the project does it in the meantime, as I'm sure the knowledge learned will be helpful for this type of material. You could also ask the author of the GitHub repository and see if they would be willing to share how they learned to perform sprite slicing.

Also, if this isn’t the right way of replying to messages, please explain to me how to, as I’ve never used this forums platform! Thank you! ❤️?

This is the right way to reply, so no worries! If you ever have any questions relating to how to use the forum, please do not hesitate to ask forum staff. That's what we are here for :smile:

Well, you could always try using/generating polygon2Ds with the appropriate part of the sprite mapped to your generated polygons. I'd imagine that would work.

3 years later