Hello Ashra,
Thank you for your invitation, I've seen the project description and the problem that happens on your project. Well I can't say anything since i don't know exactly the program flow of the project. But there are some method that can be used to snap the object to the base.
I think the detection of colliding object to the base is the most effective method. But this is my hypothesis.
Can you tell me more about your project? Love to know more if you'd like to chat about it.
Best Regards,
Haidar Abhirama