Attention | Topic was automatically imported from the old Question2Answer platform. | |
Asked By | torohaifisch |
Hello everyone, i need some help with this, i couldnt find any examples on how to do it in godot 3.0.
what i am trying to do is check if a point is inside an area2d
ive been trying to get the direct space state of the scene i am in like this:
var space=World2D.direct_space_state
var results = space.intersect_point(point, 32, [], 2147483647)
but it throws an error: invalid get index ‘direct_space_state’ on GDScriptNativeClass
thx in advance.