PhysX heightfield's scale can be set in the editor

also, fopen_s is not really portable. It's win thing.