conflict of oneway and rigid

Hello all,

I would like to use “fix oneway” command to build a semi-membrane-like boundary. It works well for non-rigid molecules like CO2 and CH4, but not works for rigid molecules like N2 and H2 with three-site models. Could anyone have idea to deal with it?

Thanks in advance