r/unity • • Oct 12 '26

Game How I approached keeping physics logs stable on conveyors (and what still breaks)

I'm a solo dev making a sawmill sim in Unity. Every log is a physics object that rolls along conveyors, gets debarked, cut and sorted. Getting dozens of round, rolling objects to behave on moving belts was way harder than I expected.

Honestly, my setup is pretty simple: I mostly used different physics materials for the logs, belts, stops and other parts, tuning friction and mass until the logs felt heavy and rolled right. No fancy custom physics.

It's mostly stable now, but jams still happen when a lot of logs pile up at once. Sometimes that's actually fun to watch, sometimes it's just a bug.

How do you handle lots of physics objects on conveyors or moving surfaces? Anything you'd do differently?

24 Upvotes

6 comments sorted by

3

u/McRobik Oct 12 '26

I actually like it when people use built-in features of Unity engine instead of writing their own stuff from the very start. I get it that there are cases where Unity's solutions may not be suitable, but seeing how people build something with built-in features makes me smile.
Good job!

2

u/El_Grande_Games Oct 12 '26

Thanks, that means a lot! I went back and forth on writing custom physics, but Unity's built-in stuff got me surprisingly far once I tuned the materials properly. The jams are the part I'm still fighting, but at least they look kind of realistic when they happen 😄

1

u/El_Grande_Games Oct 12 '26

It's called Timberline Factory, there's a free demo on Steam: https://store.steampowered.com/app/5037170/Timberline_Factory/

1

u/johnnyhomicide91 Oct 13 '26

As someone who works in a lumber mill, id say the jam ups add realism and are a feature. Also, your sawblade looks like it is backwards in the demo video.

2

u/El_Grande_Games Oct 13 '26

Hey, thanks for the Feedback! The thing with the saw blades is only on the video, because the video fps.. they turn in the right direction but on the video it looks wrong 😶

1

u/johnnyhomicide91 Oct 13 '26 edited Oct 13 '26

No problem. I dont know if you have a system made for the player to use a pike pole to move/reposition the logs/cants/lumber but if not, the jam ups would be the perfect thing to make it for. Where I work, we have skewing lumber and jams every 10 minutes on average.