Godot Version
Godot 4.3
Each player body has a diffrent script that belongs to it, When Playerbodie 1 hits something, I want Playerbodie 2 to stop when 1 does
Godot Version
Godot 4.3
Each player body has a diffrent script that belongs to it, When Playerbodie 1 hits something, I want Playerbodie 2 to stop when 1 does
Sounds like a job for signals.
How would i do that?
Have p1 emit a signal when it stops, have p2 listen for that signal.
See: