first version of EU AI Act game
This commit is contained in:
@@ -0,0 +1,38 @@
|
||||
[gd_scene load_steps=5 format=3 uid="uid://dvjxy8tyaxcjr"]
|
||||
|
||||
[ext_resource type="Script" uid="uid://debptt7fdw0mw" path="res://Resources/Objects/pressure_block.gd" id="1_adrnk"]
|
||||
|
||||
[sub_resource type="BoxShape3D" id="BoxShape3D_mjcge"]
|
||||
size = Vector3(1, 0.5, 1)
|
||||
|
||||
[sub_resource type="BoxMesh" id="BoxMesh_adrnk"]
|
||||
size = Vector3(1, 0.1, 1)
|
||||
|
||||
[sub_resource type="BoxShape3D" id="BoxShape3D_adrnk"]
|
||||
size = Vector3(1, 0.1, 1)
|
||||
|
||||
[node name="PressureBlock" type="Node3D"]
|
||||
script = ExtResource("1_adrnk")
|
||||
|
||||
[node name="Area3D" type="Area3D" parent="."]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.46808624, 0)
|
||||
collision_layer = 4
|
||||
collision_mask = 5
|
||||
|
||||
[node name="CollisionShape3D" type="CollisionShape3D" parent="Area3D"]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, -0.26072478, 0)
|
||||
shape = SubResource("BoxShape3D_mjcge")
|
||||
|
||||
[node name="MeshInstance3D" type="MeshInstance3D" parent="."]
|
||||
mesh = SubResource("BoxMesh_adrnk")
|
||||
|
||||
[node name="StaticBody3D" type="StaticBody3D" parent="."]
|
||||
collision_layer = 4
|
||||
collision_mask = 4
|
||||
|
||||
[node name="CollisionShape3D" type="CollisionShape3D" parent="StaticBody3D"]
|
||||
shape = SubResource("BoxShape3D_adrnk")
|
||||
disabled = true
|
||||
|
||||
[connection signal="body_entered" from="Area3D" to="." method="_on_body_entered"]
|
||||
[connection signal="body_exited" from="Area3D" to="." method="_on_body_exited"]
|
||||
Reference in New Issue
Block a user