Thanks, but i didn“t get this to work. How i use this Shape2D class ?
For example i have a Area2D Node and as child a CollisionPolygon2D:
# How to use it ?
get_node("Area2D_Name").Shape2D.collide()
EDIT:
Okay i got it
get_node("Area2D_Name/CollisionShape2D").get_shape().collide(arg1,arg2,arg3)