How to place objects attached with wall or floor in ARbutton?

0

Unfortunately there is no documentation for Augmented Reality (ARButton) feature of Three.JS. In the example objects are not appearing connected to floor or walls correctly according to distance. Can you guide how to correct the placing of added object. This is being done by ARCore as explained here but unable to do this in referred Three.JS example.

Please guide why ARButton in not considering the distance to floor/wall at all?