learn-gdscript
learn-gdscript copied to clipboard
Lesson 10, Exercise 1,2 - Character passes exercise even thought it's not rotating clockwise
Describe the bug Exercise takes 0.95 as equal to 0.05 radians
To Reproduce Steps to reproduce the bug:
- Go to lesson 10 exercise 1
- Run following code:
func _process(delta):
rotate(0.95)
Steps to reproduce the bug:
- Go to lesson 10 exercise 2
- Run following code:
func _process(delta):
rotate(0.95)
move_local_x(5)
Expected behavior Fail the exercise, because it is not rotating clockwise
Screenshots
Information about your device:
- Operating System: Linux Debian
- Version: Learn GDScript 1.5.2 from github releases zip file
Additional context Robot is rotating very fast