I'm wondering if there isn't a better way to position a newly created model on terrain. I am currently using this method, which doesn't always seem to work correctly even when the models origins are in the right place.

temp.z -= 10000;
my.z -=c_trace(my.pos,temp,use_polygon|ignore_me|ignore_passable|ignore_passents);