Make Object stick to the AR plane while translation

Hi ,
I need help with a problem. My goal is to make a 3D model stay attached to both vertical and horizontal AR planes. However, sometimes during translation, the model can move in mid-air if I want, which looks unrealistic. Adding a rigid body to the model causes it to fall when placed on a vertical plane. How can I address this issue? I’m using lean touch for movement.

I am also having the same issue. Using lean touch, objects can be moved irrespective of the plane. For the objects that needs to be placed on the ground, I am adding rigid body component to it. So they stay on the ground. But for the objects on the vertical planes and ceilings, I am unable to achieve the desired functionality.

Also tried using XR Interaction Toolkit. But somehow, it is not working at all for my app.