Fixed white space *for real*; updated Godot settings not to "correct"
whitespace.
This commit is contained in:
parent
9cd7629023
commit
4eba01e61b
1 changed files with 5 additions and 5 deletions
2
ball.gd
2
ball.gd
|
|
@ -5,7 +5,7 @@ const SPEED : float = 300.0
|
||||||
func _ready() -> void:
|
func _ready() -> void:
|
||||||
initialize()
|
initialize()
|
||||||
|
|
||||||
func _physics_process(delta: float) -> void:
|
func _physics_process(_delta: float) -> void:
|
||||||
var collision = move_and_collide(velocity * _delta)
|
var collision = move_and_collide(velocity * _delta)
|
||||||
if collision:
|
if collision:
|
||||||
velocity = velocity.bounce(collision.get_normal())
|
velocity = velocity.bounce(collision.get_normal())
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue