Attention | Topic was automatically imported from the old Question2Answer platform. | |
Asked By | PugMasterPug | |
Old Version | Published before Godot 3 was released. |
I need an object to be able to detect when an object is along a certain line, and it must be able to detect the group of the object (I want a spike that falls when the player crosses that line), I tries with a RayCast2D, but it only detects the object when it is at the end of the line.
btw it is a 2D game.