27 lines
854 B
Text
27 lines
854 B
Text
[gd_scene load_steps=5 format=3 uid="uid://bjxjcx2qu16q5"]
|
|
|
|
[ext_resource type="Script" uid="uid://bjnv2g1ni0525" path="res://src/draggable_object.gd" id="1_vcwhe"]
|
|
|
|
[sub_resource type="SphereShape3D" id="SphereShape3D_vcwhe"]
|
|
radius = 0.49570328
|
|
|
|
[sub_resource type="SphereShape3D" id="SphereShape3D_18ddp"]
|
|
radius = 0.25
|
|
|
|
[sub_resource type="SphereMesh" id="SphereMesh_18ddp"]
|
|
radius = 0.25
|
|
height = 0.5
|
|
|
|
[node name="DraggableObject" type="Area3D"]
|
|
script = ExtResource("1_vcwhe")
|
|
|
|
[node name="DragShape" type="CollisionShape3D" parent="."]
|
|
shape = SubResource("SphereShape3D_vcwhe")
|
|
|
|
[node name="DragArea" type="Area3D" parent="."]
|
|
|
|
[node name="CollisionShape3D" type="CollisionShape3D" parent="DragArea"]
|
|
shape = SubResource("SphereShape3D_18ddp")
|
|
|
|
[node name="MeshInstance3D" type="MeshInstance3D" parent="."]
|
|
mesh = SubResource("SphereMesh_18ddp")
|