Godot v4.4 mono
i’ve been trying to access a script that is attached to a object that have been hit by raycast , i’ve tried GetCollider().GetScript() function but it returns a variant and i didn’t found a way to cast it as an interface
Godot v4.4 mono
i’ve been trying to access a script that is attached to a object that have been hit by raycast , i’ve tried GetCollider().GetScript() function but it returns a variant and i didn’t found a way to cast it as an interface