Initial commit
This commit is contained in:
commit
d7302501f0
16 changed files with 225 additions and 0 deletions
27
scenes/draggable_object.tscn
Normal file
27
scenes/draggable_object.tscn
Normal file
|
|
@ -0,0 +1,27 @@
|
|||
[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")
|
||||
Loading…
Add table
Add a link
Reference in a new issue