I have created a simpler tipper wagon, using a track side mounted gear rack, the gear on the wagon picks up on this and rotates the wagon to empty the tipper wagon.
If you want more information check out the link
https://ideas.lego.com/projects/93705