Skip to content

Commit

Permalink
2D Physics Tests, fixed "one-way collision script error"
Browse files Browse the repository at this point in the history
  • Loading branch information
Alex2782 committed Sep 21, 2023
1 parent 1113baf commit 4435352
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions 2d/physics_tests/project.godot
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,10 @@ config_version=5
[application]

config/name="2D Physics Tests"
config/tags=PackedStringArray("2d", "demo", "official", "physics")
run/main_scene="res://main.tscn"
config/features=PackedStringArray("4.0")
config/features=PackedStringArray("4.1")
config/icon="res://icon.webp"
config/tags=PackedStringArray("2d", "demo", "official", "physics")

[autoload]

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ func _ready():
_target_area.body_entered.connect(self._on_target_entered)
$Timer.timeout.connect(self._on_timeout)

_rigid_body_template = $RigidBody2D
_rigid_body_template = $RigidDynamicBody2D
remove_child(_rigid_body_template)

_character_body_template = $CharacterBody2D
Expand Down

0 comments on commit 4435352

Please sign in to comment.