encountering problems with a rack and pinion

So hi Guys hope you're doing well,
i tried Creating a rack and pinion
but when i assemble them there is colision between them.
so if anybody could help i would be really grateful.
i am working on SOlidworks 2020

2 Answers

Do you need that ?

hi
1) Designs are somewhat flawed Try to use the library or choose sizes more carefully
2) assembly>mate>mechanical>rack pinion
Use this command to make a mate