Four years and still nobody answering that ?
Yeah, that means the topic is too hard to achieve. @raoul
Well, answer is, you can do that by either extending the 2D functionalities of the engine, or by making a custom plugin. Here's not the right place to write how to do it though, it would require too much space, many pages of technical information actually. All I can tell is, you have to know how 3D collisions work and get a certain level in computer graphics programming first. Yeah, going from scratch, today still, there's NO BOOK, video or Article fully explaining the way to solve the problem. Since this is an issue, I'll engage myself to write a book on that. But many years will pass first, because I haven't started yet and I still don't have to start.