Z
Z
Zefirot2021-06-17 15:13:58
Unity
Zefirot, 2021-06-17 15:13:58

How to warp a rectangular image in the game editor?

The bottom line is this - the game has a sort of level designer, one of the details is a rectangular picture, let's say it will be a pipe, how to make it so that it can be deformed with the mouse?
That is, for example, touch in the center (indicate where the deformation begins), then click on the edge of the picture and move along the curve by 90 degrees, as a result we get a picture (pipe) in the form of G, then I think it will not be difficult to save the result of the deformed object, the question is how to do this deformation action?
Tell me how, or maybe there are even such examples somewhere ... Or what is this technology called to google this action ...

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question