im using this code:
func process(delta):
var collider = getcollider()
if self.is_colliding():
get_parent().can_talk = true
if collider.is_in_group("npc"):
print ("colliding with npc")
when im about to collide with the object, it gives me this error:
"Attempt to call function 'isingroup' in base 'null instance' on a null instance."