Skip to content

Commit

Permalink
Fixed staticbody error
Browse files Browse the repository at this point in the history
  • Loading branch information
CihanBosnali committed May 3, 2021
1 parent 714a99e commit cb45aa6
Show file tree
Hide file tree
Showing 6 changed files with 5 additions and 6 deletions.
1 change: 0 additions & 1 deletion MapB.tscn
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@ texture = ExtResource( 9 )

[node name="tileset2" type="Sprite" parent="tileset1"]
position = Vector2( 2062.88, 30.3774 )
scale = Vector2( 1, 1 )
texture = ExtResource( 9 )

[node name="SideContainers" type="Node2D" parent="."]
Expand Down
2 changes: 1 addition & 1 deletion scene_resources/BarrellA.tscn
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
[sub_resource type="CircleShape2D" id=1]
radius = 61.0818

[node name="BarrellA" type="Node2D"]
[node name="BarrellA" type="StaticBody2D"]

[node name="Barell_01" type="Sprite" parent="."]
scale = Vector2( 0.3, 0.3 )
Expand Down
2 changes: 1 addition & 1 deletion scene_resources/CarA.tscn
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
[sub_resource type="RectangleShape2D" id=1]
extents = Vector2( 360.466, 148.366 )

[node name="CarA" type="Node2D"]
[node name="CarA" type="StaticBody2D"]

[node name="car1" type="Sprite" parent="."]
rotation = -1.5708
Expand Down
2 changes: 1 addition & 1 deletion scene_resources/CarB.tscn
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
[sub_resource type="RectangleShape2D" id=1]
extents = Vector2( 360.466, 148.366 )

[node name="CarB" type="Node2D"]
[node name="CarB" type="StaticBody2D"]

[node name="car2" type="Sprite" parent="."]
position = Vector2( 6.70766e-07, 0.185295 )
Expand Down
2 changes: 1 addition & 1 deletion scene_resources/CarC.tscn
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
[sub_resource type="RectangleShape2D" id=1]
extents = Vector2( 338.78, 137.891 )

[node name="CarC" type="Node2D"]
[node name="CarC" type="StaticBody2D"]

[node name="car3" type="Sprite" parent="."]
position = Vector2( 0.0928607, -0.0586671 )
Expand Down
2 changes: 1 addition & 1 deletion scene_resources/CarD.tscn
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
[sub_resource type="RectangleShape2D" id=1]
extents = Vector2( 377.121, 138.667 )

[node name="CarC" type="Node2D"]
[node name="CarC" type="StaticBody2D"]

[node name="car4" type="Sprite" parent="."]
position = Vector2( 0.0143157, -0.0586668 )
Expand Down

0 comments on commit cb45aa6

Please sign in to comment.