浏览代码

Center raycasts again

No need to put side ray casts on front because crash guard is now
activated at turning moment.
DricomDragon 5 年之前
父节点
当前提交
9b240ada2d
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2 2
      Player.tscn

+ 2 - 2
Player.tscn

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