@Ankit please do not multiply topics on the same subject as it makes it harder for others to find an answer and for us to answer them all
and this one.
So let s keep the conversation in this one.
I would suggest you use @RaananW solution with collision if you are not too familiar with 3d dev and/or javascript