Download

Getting editor camera mouse coords

Hello everyone, I’m trying to figure out how to get the the mouse screen coords from the editor camera. I’m using PySide to create my own content broswer, and now I want to drag models from my GUI directly to the level. As for now, everything is working fine, I can drag elements into the scene, but I’m struggling with locating the new actors because I can’t find a way to get the mouse coords and pass them to world coords (acutally I’m using statics ones). Any help would be much appreciated.