Skip to content

Physics2D: Allow to use 'intersect_point' with not 'Pickable' objects

Rafał Mikrut requested to merge github/fork/Biliogadafr/pickable2d into master

Created by: Biliogadafr

The problem is that 'intersect_point' will not work on objects which are not marked as 'Pickable'. And this is confusing. The fix was done in the same way as it is implemented for 3D physics. Method now receives additional boolean argument which indicates if object should be checked for 'Pickable' property. I hope that viewport is the only place that relies on 'Pickable' property, please correct me if I'm wrong.

Merge request reports