Closed Maltavius closed 1 year ago
This one is interesting because there should be a type error when calling move_local_x(delta,100)
, but it seems the GDScript compiler converts the value 100
.
Technically with your code the robot is actually kind of moving in a circle, it is just at the circle is very tiny because you use delta
.
Anyway I'll add a mini fix to this issue
Describe the bug The lesson passes with wrong solution
To Reproduce Enter lesson Write:
func _process(delta): rotate(2*delta) move_local_x(delta,100)
Expected behavior This moves in a circle but not a 100 offset circle.
Screenshots
Information about your device (please complete the following information):
Additional context