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
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.