I'm working on a script to place buildings and furniture sets. I need some way to determine if the ground(or the nearest colliding object in z axis) is flat enough. I've gone through ck wiki but haven't found any command to do that, i guess i can spawn some dynamically moving things and wait until they settle on the ground but that doesn't play well with the interface i have in mind and needs to be a lot faster. Thoughts?