Moving stuff along a conveyor belt?

using UnityEngine;using System.Collections;


public class ConveyorBelt : MonoBehaviour
{
	public float scrollSpeed = 0.1f;
	public Material mat;


	void Update()
	{
		float offset = (Time.time * scrollSpeed) % 1.0f;


		mat.SetTextureOffset ("_MainTex", new Vector2(0, -offset));
		mat.SetTextureOffset ("_BumpMap", new Vector2(0, -offset));
	}
}

Is there a way to make a rigidbody move along with a conveyor belt when standing on it? All I got is this animated texture just now… Is it possible to make a rigidbody move along with the conveyor belt?

i am new to unity but how I think you would have to go about doing this is adding a box-collider and setting it as a trigger so when an object is on it it will add a force to the object pushing it along the conveyor belt.

Hope this helped you.

You could apply a ConstantForce at the speed you want to the object when on the belt.