Skip to content

Commit

Permalink
Merge pull request #258 from niefia/pressure-plate-fix
Browse files Browse the repository at this point in the history
Fixed player detection for Pressure Plates
  • Loading branch information
Phazorknight authored Sep 3, 2024
2 parents 0a3e062 + af19520 commit 923cec0
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion COGITO/DemoScenes/COGITO_4_Laboratory.tscn
Original file line number Diff line number Diff line change
Expand Up @@ -3307,7 +3307,7 @@ transform = Transform3D(-4.37114e-08, 0, 1, 0, 1, 0, -1, 0, -4.37114e-08, -7.248
transform = Transform3D(-4.37114e-08, 0, 1, 0, 1, 0, -1, 0, -4.37114e-08, -7.24998, 1.505, -0.32672)

[node name="Cogito_Pressureplate" parent="." instance=ExtResource("41_0755m")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.0398592, 0)
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.0454833, 0)

[node name="CogitoEnemy" parent="." node_paths=PackedStringArray("patrol_points") instance=ExtResource("52_mlseg")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -2.23556, -2.66908, 15.663)
Expand Down
3 changes: 2 additions & 1 deletion COGITO/PackedScenes/cogito_pressure_plate.tscn
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,8 @@ axis_lock_linear_z = true
axis_lock_angular_x = true
axis_lock_angular_y = true
axis_lock_angular_z = true
gravity_scale = -0.5
mass = 5.0
gravity_scale = -0.645
can_sleep = false
max_contacts_reported = 1
contact_monitor = true
Expand Down

0 comments on commit 923cec0

Please sign in to comment.