How to rig odd shape eyes?

Hello everyone,

I’ve been working on a cartoon character and his eyes have been shaped to fit into a very obscure eye socket shape. The way I was able to do it in 3ds Max without the eyes breaking form was by adding space warp restrictions to the eyes. Where ever the eyes look they will will always stay in the socket. When I import it into the engine, it becomes spherical again which looks odd. Is there a way to keep the eye shape and also have it look at an eye target in unreal engine as i have it in 3ds Max? Or is there another way to accomplish it?