I try to deform a mesh but I don't know where to start.
What I want to acchieve is, scaling a mesh in one direction, but without changing the starting point of it.
For better understanding, here a litte example.
I have a unit with a special ability (eg. a rocket). And for showing the player where this ability would pass through, I want to show an arrow (or something similar) from the unit, to the cursor.
If I move the cursor away from the unit, the arrow should scale to fit between the units, and the cursors position.
Well, I could simply scale the arrow, and reposition it every frame, but it doesn't seem the right way to me, so I would like to know if there is a better solution
Edit: ok I just solved it.
If I set the pivot point of the mesh outside of it (in blender), it will scale only in one direction of the desired axis
Thanks in advance and best regards
Ritti