Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save tomblenz/70229658aadde7200dc28da41538739b to your computer and use it in GitHub Desktop.
Save tomblenz/70229658aadde7200dc28da41538739b to your computer and use it in GitHub Desktop.
Conveyer belt physics
var movement = transform.forward * speed * Time.deltaTime;
belt.position -= movement;
belt.MovePosition (belt.position + movement);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment