Taymindis
Below is Not working
SubscribeToEvent(mainRigidBody, E_PHYSICSBEGINCONTACT2D, URHO3D_HANDLER(Urho2DConstraints, HandleBallContactStart));
But this is working:
SubscribeToEvent(mainPhysicslWorld, E_PHYSICSBEGINCONTACT2D, URHO3D_HANDLER(Urho2DConstraints, HandleBallContactStart));