Gallery/caoba_body.tscn
2025-05-03 12:00:38 -06:00

38 lines
1.4 KiB
Plaintext

[gd_scene load_steps=6 format=3 uid="uid://bvmqfrarfcfeb"]
[ext_resource type="Script" path="res://unfreeze.gd" id="1_1rb0w"]
[ext_resource type="PackedScene" uid="uid://d3whrgqlwksqa" path="res://cuadros/caoba.blend" id="2_xr35r"]
[sub_resource type="PhysicsMaterial" id="PhysicsMaterial_k5yi4"]
bounce = 0.6
[sub_resource type="BoxShape3D" id="BoxShape3D_syxxm"]
size = Vector3(0.924446, 5.95655, 4.67223)
[sub_resource type="BoxShape3D" id="BoxShape3D_4joy6"]
size = Vector3(2.15191, 6.64619, 5.80484)
[node name="Area3D" type="Area3D"]
top_level = true
script = ExtResource("1_1rb0w")
[node name="RigidBody3D" type="RigidBody3D" parent="."]
mass = 15.0
physics_material_override = SubResource("PhysicsMaterial_k5yi4")
can_sleep = false
freeze = true
[node name="caoba" parent="RigidBody3D" instance=ExtResource("2_xr35r")]
transform = Transform3D(3, 0, 0, 0, 3, 0, 0, 0, 3, 0, 0, 0)
[node name="CollisionShape3D" type="CollisionShape3D" parent="RigidBody3D"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.0217552, 0.0256115, 0.0177237)
shape = SubResource("BoxShape3D_syxxm")
[node name="CollisionShape3D" type="CollisionShape3D" parent="."]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.0288181, 0.129071, 0.0955728)
shape = SubResource("BoxShape3D_4joy6")
[connection signal="body_entered" from="." to="." method="_on_body_entered"]
[connection signal="body_entered" from="RigidBody3D" to="RigidBody3D" method="_on_body_entered"]