[gd_scene load_steps=6 format=3 uid="uid://c1rooma5e6ir4"] [ext_resource type="Script" path="res://sceen/platform/jjtc.gd" id="1_ebk0j"] [ext_resource type="PackedScene" uid="uid://b2b5du6g0swmc" path="res://Model/JJTC.blend" id="2_hep0w"] [ext_resource type="Script" path="res://sceen/platform/JJTC_Area3D.gd" id="3_j0a07"] [sub_resource type="BoxShape3D" id="BoxShape3D_7navh"] size = Vector3(0.07, 0.21, 0.09) [sub_resource type="ViewportTexture" id="ViewportTexture_gubnu"] viewport_path = NodePath("SubViewport") [node name="JJTC" type="Node3D"] script = ExtResource("1_ebk0j") [node name="JJTC_Body" parent="." instance=ExtResource("2_hep0w")] transform = Transform3D(1, 0, 0, 0, 1.66, 0, 0, 0, 1, 5.73, -0.67, -9.14) [node name="JJTC_Area3D" type="Area3D" parent="JJTC_Body"] script = ExtResource("3_j0a07") [node name="CollisionShape3D" type="CollisionShape3D" parent="JJTC_Body/JJTC_Area3D"] transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -9.478, 1.055, 1.74) shape = SubResource("BoxShape3D_7navh") [node name="SubViewport" type="SubViewport" parent="."] size = Vector2i(55, 265) [node name="ColorRect" type="ColorRect" parent="SubViewport"] offset_right = 55.0 offset_bottom = 265.0 color = Color(0, 0.12549, 1, 1) [node name="Label" type="Label" parent="SubViewport"] offset_right = 55.0 offset_bottom = 267.0 theme_override_font_sizes/font_size = 32 text = "紧 急 停 车 按 钮" horizontal_alignment = 1 vertical_alignment = 1 [node name="Sprite3D" type="Sprite3D" parent="."] transform = Transform3D(0.128, 0, 0, 0, 0.128, 0, 0, 0, 0.128, -3.75, 1.075, -7.36) texture = SubResource("ViewportTexture_gubnu") [connection signal="mouse_entered" from="JJTC_Body/JJTC_Area3D" to="JJTC_Body/JJTC_Area3D" method="_on_mouse_entered"] [connection signal="mouse_exited" from="JJTC_Body/JJTC_Area3D" to="JJTC_Body/JJTC_Area3D" method="_on_mouse_exited"]