the annex should explain itself: what kind of constraint do I have to use to slide the wheel on the guide? I press that the guide forms an angle of 90° between the two tilted faces, while the throat of the wheel is about 110°
Thank you.
put a coincidence between the vertical planes passing through the wheel and the guide to stop the wheel from the left right discard.
then you can create 2 floors, the first passer for the top of the guide and the second for the top of the throat and put them aligned.
so you will have free only the scroll movement.
You can do it in different ways, the most obvious method would be to use a transient bond, but it is usually preferable to use the coincidence constraints, because less "heavy" for the computer and create fewer cases. .
For example, you could align the roller's mid-top with the guide's one and bind the roller axis at a proper distance from the lower level of the guide (so that you can combine the throat with the tip of the guide), so that only the forward-back movement you want.
this of course if you don't care to show rotation of the roller, which you could do with a movement bond (but also this, if not necessary, would weigh only everything).
what pagnotz says is right, with my solution you will not see the wheel turn. You can do it by following your instructions on the transient constraints, but in my opinion they are solutions to be used only if strictly necessary.