Hi, I’d like to make an inset vectors function like in blender. Video in description.
link text
Are you trying to model in the engine? Because that’s more pain than just using 3D modeling software.
Why do you need to do this? What’s the end goal for your needs?
I’ll pitch an idea, but it may not be what you prefer given I don’t know what your needs are…
Here goes:
For each Red Vector, there are two neighbors. You can get the average distance between the neighbors and then find the look at rotation for that Red Vector. You would get the forward vector from the look at rotation and multiply it by a float to offset (or in your case inset) and then store that vector in an array (yellow vectors)
Hi, Your solution is close to what I want to do but. Its buggy when shape is angled. if You see in point where I draw green angle. This point should be longer then others. Thank You for Idea.