modif square & triangle collider + fixed bug