sand-receive/cosmic/main.tscn
2023-10-24 01:52:25 +09:00

54 lines
1.3 KiB
Text

[gd_scene load_steps=10 format=2]
[ext_resource path="res://main.gd" type="Script" id=1]
[sub_resource type="PhysicsMaterial" id=3]
[sub_resource type="SphereShape" id=5]
[sub_resource type="SpatialMaterial" id=4]
[sub_resource type="SphereMesh" id=2]
resource_local_to_scene = true
material = SubResource( 4 )
radius = 20.0
height = 40.0
[sub_resource type="SpatialMaterial" id=6]
albedo_color = Color( 0.894118, 1, 0, 1 )
[sub_resource type="SphereMesh" id=7]
material = SubResource( 6 )
radius = 0.1
height = 0.2
[sub_resource type="SpatialMaterial" id=8]
[sub_resource type="CylinderMesh" id=9]
material = SubResource( 8 )
top_radius = 0.003
bottom_radius = 0.003
height = 0.5
[node name="main" type="RigidBody" groups=["sounders"]]
collision_layer = 4
collision_mask = 0
physics_material_override = SubResource( 3 )
gravity_scale = 0.0
script = ExtResource( 1 )
[node name="CollisionShape" type="CollisionShape" parent="."]
shape = SubResource( 5 )
[node name="MeshInstance" type="MeshInstance" parent="."]
mesh = SubResource( 2 )
[node name="center" type="MeshInstance" parent="."]
mesh = SubResource( 7 )
[node name="pin" type="MeshInstance" parent="center"]
mesh = SubResource( 9 )
[node name="DirectionalLight" type="DirectionalLight" parent="."]
transform = Transform( 1, 0, 0, 0, -4.37114e-08, 1, 0, -1, -4.37114e-08, 0, 1, 0 )