Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

Handle collision via Signal?



  • Hi,

    For now, I capture "mouseMoveEvent" to check if selected QGraphicsItem collides with another QGraphicsItem in my scene. It doesn't seem like a good way to handle collision. I'm not able to find a signal (maybe a signal triggered when an item has collided with other one) to handle a collision between items only when a collision is produced.

    Any suggestion?


Log in to reply