Any parts that have a (f) in the tree, right click on them and then select 'Float' from the menu.
Then apply mates between the main part and the planes in the assembly.
(I'm assuming this is SolidWorks)
You sir, saved my day, BIG thanks!
thanks, I was facing the same problem and saved me as well.