Dragging a follwer to

I am trying to design alinear cam.

Right now the path of the follower is defined and constrained byassembly mates. I can drag the follower and watch it movealong the desired path. The video shows the follower going throughthe material of the cam body as I drag the follower left and right.

I would like to cut the excess material from the cam body in such away that if the follower istangentially mated to the cam profile, it would follow the same exact pathwithout the existing assembly mates that make it do so in thevideo.
SolidworksAssemblies