Not the usual conveyor belt

Hello everybody,

I’m trying to build a conveyor belt for a 2D game, but can’t use the usual approach (collision/trigger + force) since it has to work in a “circular” way. This means, when an object is placed in the belt it gets “tied” to it, even if it changes its direction. The idea is having something which surface seems to rotate, and when an object touches it ir will start to rotate itself around it endlessly until it’s released.

Since I don’t think I explained myself, I tryed a self-explanatory scheme.

Any approach that I didnt think of? Thank you very much!

__
||
|///////////////////////////////|
_ !
|///////////////////////////////||
|///////////////////////////////|
|
______________|
|
|
<<<<<<<

So, when an object hits the conveyor belt, it gets magnetically stuck to it, and even if the conveyor belt goes up a hill or down a slope, or even upside-down, the object must stay attached to it?

Does this have to work on any kind of shape? Or are you doing a specific shape only (rectangle/circle/etc.)?

Are you able animate multiple objects along a path, loop the animation, and have your new objects parent themselves to the ones going in a continual loop?

That is correct. I cant just animate it because the goal is to be able to build different conveyor belts through prefabs while designing the levels, instead of just build a different conveyor belt with its own animation for each one I want to make (there may be hundres due to different shapes and speeds…)

This problem intrigued me, so I put up a little diagram explaining a possible method of creating this effect.

To generate the nodes, you can just create evenly spaced points around the radius of your two endpoints.

Best wishes,