PhysX heightfield's scale can be set in the editor

shapes = NULL;
I would also add ASSRT(shapes != NULL); at the beginning of the if statement.

same with actor bellow