Width of finish line now adjustable in editor
This commit is contained in:
parent
2dcd561dbc
commit
a72576bea6
1 changed files with 0 additions and 1 deletions
|
@ -46,7 +46,6 @@ func _ready():
|
||||||
finish.add_point(start + finish_right)
|
finish.add_point(start + finish_right)
|
||||||
finish.add_point(start + finish_left)
|
finish.add_point(start + finish_left)
|
||||||
# print_debug("start: ", start, "start out: ", start_out.normalized(), " finish left: ", start + start_out.normalized().rotated(90) * width/2, "start right: ", start + start_out.normalized().rotated(-90) * width/2)
|
# print_debug("start: ", start, "start out: ", start_out.normalized(), " finish left: ", start + start_out.normalized().rotated(90) * width/2, "start right: ", start + start_out.normalized().rotated(-90) * width/2)
|
||||||
finish.width = 20
|
|
||||||
|
|
||||||
player.position = start
|
player.position = start
|
||||||
player.rotation = start_out.angle()
|
player.rotation = start_out.angle()
|
||||||
|
|
Loading…
Reference in a new issue