- Home /
Help With Curved Conveyor
I have searched around for a while now and I can't seem to find a good way to do piece of curved conveyor. I would like to make a stretch of conveyor that starts off straight and then either curves off to the right or continues straight. I have found a few ways to make the conveyor go straight. The easiest so far has been a long cube object with a box collider slightly above it. Any help would be greatly appreciated.
Do you want to stretch your curve too or will it always be same size? And if you can stretch it, does the angle always stay same (width and height will grow at the same pace)?
I would like the size to always stay the same. For the application I am using it for, I don't really need to stretch it. If it was stretchable the angle would always stay the same.
Then you could do it with custom collider that moves the object through the curve. One way to do this could be to keep it moving forward and then rotating it during the curve. You could also move it to two directions at the same time, but making smooth curve will require some calculations for said directions.
Then one idea I got while writing this was iTween that maybe could help you out. You might be able to do something with Path-constrainment, PutOnPath/PointOnPath or $$anonymous$$oving on a path.