first try setOcclusionsEnabled
if doesnt work use: engineSetModelLODDistance(object id, distance visible) this is client side.
if the object you are using dont have a lod (some objects dont have lod), you will need to create one and place in the same position/ attach it to the original, use the same object, same scale, and the last argument true, (to set as the lod) set it to setLowLODElement and then use engineSetModelLODDistance too