hey guys, is there any way to curve/bend objects?
i for example have a stright line which needs to be curved around an object.
im not asking for you guys to make it for me or any thing, its just that i dont know how its
possible to even do such thing, so if theres a function or any thing that support this, please share :>
There’s no shortcut for this specific functionality. It just takes some very experienced programming knowledge. The LineRenderer would be the simplest method to go for the rendering aspect. It’s just a matter of some complex point management and a little math, while checking for Colliders within a certain distance of each point in the LineRenderer and snapping to that Collider’s boundary.
Suffice to say, if this is one of your first projects, it’s probably going to be a bit much to pull off, though you can try, but it will require a lot of brushing up on C# programming.
You could try looking through packages on the Asset store for something that might have the functionality you need, there’s a good chance there’s something that could help.
yeah its just that i was wondering if there another tool, hmmm, with the streching part im done, its all good.
too bad the unity 2d community so small :<
theres like 0 free examples in most related things.