Browse Source

Center raycasts again

No need to put side ray casts on front because crash guard is now
activated at turning moment.
DricomDragon 5 years ago
parent
commit
9b240ada2d
1 changed files with 2 additions and 2 deletions
  1. 2 2
      Player.tscn

+ 2 - 2
Player.tscn

@@ -32,7 +32,7 @@ __meta__ = {
 }
 }
 
 
 [node name="RayLeft" type="RayCast2D" parent="."]
 [node name="RayLeft" type="RayCast2D" parent="."]
-position = Vector2( -30, -31 )
+position = Vector2( -30, 0 )
 enabled = true
 enabled = true
 exclude_parent = false
 exclude_parent = false
 cast_to = Vector2( -64, 0 )
 cast_to = Vector2( -64, 0 )
@@ -41,7 +41,7 @@ __meta__ = {
 }
 }
 
 
 [node name="RayRight" type="RayCast2D" parent="."]
 [node name="RayRight" type="RayCast2D" parent="."]
-position = Vector2( 30, -31 )
+position = Vector2( 30, 0 )
 enabled = true
 enabled = true
 exclude_parent = false
 exclude_parent = false
 cast_to = Vector2( 64, 0 )
 cast_to = Vector2( 64, 0 )