1D Left-to-right sound with the spatializer

Hi all! I’m working on a 3D side scrolling game and I’d like to use the spatializer to only control the left to right attenuation of in-game sound effects, while leaving them audible no matter how far in front of the camera they are. So if there was an object emitting sound it would keep a constant volume level front to back (or up and down for that matter), but if the camera was moved away from that object to the left or right it would attenuate then drop off to nothing as usual. Right now my thought is to not use the spatializer but to use two parameters, one for volume and one for left to right panning. Not as clean as the spatializer could be, but is the spatializer not set up for this kind of thing?