Topic was automatically imported from the old Question2Answer platform.
Asked By
jptsetung
Note : I’m not currently programming with Godot, I’m just trying it, and want to know how to do the things I was doing before with another engine.
So let’s say I want to make a custom 2D node, a sprite that I can deform. Instead of being defined by 4 vertices (corners), it’s defined by 16 vertices (a grid), and I would like to be able to deform the sprite by moving these vertices in a custom 2D node.
So how would I t do this? No need to enter the details, just want to know if it’s possible, if I could easily reuse this node on my code (or even share with the community?).
It’s possible, you can use tool in a node script to make it execute in editor. I used that feature to do something similar in my game, so I was able to deform it in a shader and see the result without having to run the game