When the player first enters a red robot's detection collider, it drops to the floor and then approaches the player. This is because they are placed slightly above the ground in level.tscn, as it is somewhat hard to get just perfect.
I added a line in red_robot.gd to apply gravity while it is idling, so it doesn't just hover there.
All the other diffs in this PR are likely from changes in Godot version, as the only one necessary is in red_robot.gd.
When the player first enters a red robot's detection collider, it drops to the floor and then approaches the player. This is because they are placed slightly above the ground in
level.tscn
, as it is somewhat hard to get just perfect. I added a line inred_robot.gd
to apply gravity while it is idling, so it doesn't just hover there.All the other diffs in this PR are likely from changes in Godot version, as the only one necessary is in
red_robot.gd
.