It's local only, so I just mapped multiple gamepads. I've made a utility that simplifies the process a bit here: https://github.com/daleblackwood/cookpot
Completely Cooked Games
2
Posts
15
Followers
A member registered Aug 31, 2016 · View creator page →
Creator of
Deliver packages to become the ultimate CEO of Amazing Packages Co
Action
Play in browser
Recent community posts
Sure thing, here's the source:
https://github.com/daleblackwood/package-delivery/blob/master/Props/Conveyor/Con...
The conveyor has a list of kinematic bodies and a speed. The trick here is that they're kinematic and don't collide with other physics objects (at least, not traditionally). The kinematic bodies are added to the list upon collision enter and removed upon exit. The conveyor belt moves each body in the list deltaTime * speed * forwards every frame.
If you need to add rigidbody collisions, I'd recommend using a fixed contraint or axis lock and moving it using an velocitychange of deltaTime * speed * forwards instead.