Have you searched for the solution on devhub and the dev forums?
Here is one I found similar to yours with the clipping into the floor:
There is also a tutorial on a placement system here which has the maths and scripting together on this common type of system.
1 Like