Mating a cam can give you a realistic assembly to easily show intended motion. Let’s take a look at how to do that.

Isolate

It makes the assembly much easier to work with if I can first isolate the parts I am going to be working with. In this case, we’re talking about the camshaft and intake valve.

Prior Mates

We need the camshaft to rotate and the intake valve to move up and down. For this, use a revolute mate for the camshaft and a slider mate for the intake valve.

Tangent Mate

A tangent mate will keep two faces, edges or vertices touching at all times.

Here, we want the face of the cam and the face of the intake dome to touch.

And just like that, we’re done. Just animate your revolute mate after you finish assembling and watch your camshaft go!