✅ Solved: Vertex Deformation based on target movement.
Hi, new to rive and I’ve spent the past two days going over the entire 101 playlist but I can’t seem to find a logical way to figure this out.
So I’m trying to make this red cross deform based on a target’s movement.
The deformed states are simple and I’m attaching them below:
Basically, these are paths with 3 vertex points - 2 on the edges and 1 in the centre. Both centre vertex points align on top of each other. The key idea is - if the target moves to the top left corner, the centre points should follow, deforming the paths.
As you’ll see from the screenshots, it’s difficult to make the states completely identical and I’d like to introduce some kind of control factor that doesn’t require animating by hand.
Default placement:
top left target + path deformation
top right target + path deformation