How do I make Conveyor Belts?

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By russiniet

The concept is easy. I have one static body with area and one rigid body, which are conveyor and item that I want to transport, respectively. How do I make it so if the item is in contact with conveyor belt, then it moves at constant velocity in a particular direction until it’s no longer in contact with the conveyor belt?

:bust_in_silhouette: Reply From: kidscancode

You can do this by setting the static body’s constant_linear_velocity. No changes are necessary to the rigid body.

It works, but there is a bug. In order for this to properly work, you need to switch the physics engine in settings to GodotPhysics instead of Bullet

russiniet | 2020-04-26 17:56

Ah, you didn’t say you were using 3D.

kidscancode | 2020-04-26 17:57