67 lines
1.9 KiB
Plaintext
67 lines
1.9 KiB
Plaintext
[gd_scene load_steps=7 format=3 uid="uid://w3ehjryl0efb"]
|
|
|
|
[ext_resource type="Script" path="res://scripts/packageitem.gd" id="1_qlmmm"]
|
|
|
|
[sub_resource type="PhysicsMaterial" id="PhysicsMaterial_6fr6a"]
|
|
rough = true
|
|
absorbent = true
|
|
|
|
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_gshgp"]
|
|
emission_enabled = true
|
|
emission = Color(0.818476, 0.77792, 0.721426, 1)
|
|
emission_energy_multiplier = 0.3
|
|
|
|
[sub_resource type="SphereMesh" id="SphereMesh_355go"]
|
|
material = SubResource("StandardMaterial3D_gshgp")
|
|
radius = 0.15
|
|
height = 0.3
|
|
|
|
[sub_resource type="SphereShape3D" id="SphereShape3D_4koj6"]
|
|
radius = 2.75
|
|
|
|
[sub_resource type="SphereShape3D" id="SphereShape3D_54whn"]
|
|
radius = 0.15
|
|
|
|
[node name="ItemMoon" type="RigidBody3D"]
|
|
collision_layer = 4
|
|
collision_mask = 10
|
|
collision_priority = 2.0
|
|
mass = 500.0
|
|
physics_material_override = SubResource("PhysicsMaterial_6fr6a")
|
|
gravity_scale = 0.01
|
|
max_contacts_reported = 2
|
|
contact_monitor = true
|
|
linear_velocity = Vector3(0, -2, 0)
|
|
linear_damp_mode = 1
|
|
linear_damp = 10.0
|
|
script = ExtResource("1_qlmmm")
|
|
has_prop_physics = false
|
|
|
|
[node name="MeshInstance3D" type="MeshInstance3D" parent="."]
|
|
mesh = SubResource("SphereMesh_355go")
|
|
|
|
[node name="OmniLight3D" type="OmniLight3D" parent="."]
|
|
light_energy = 0.5
|
|
light_negative = true
|
|
distance_fade_enabled = true
|
|
distance_fade_begin = 4.0
|
|
distance_fade_length = 5.0
|
|
|
|
[node name="gravity_field" type="Area3D" parent="."]
|
|
collision_layer = 0
|
|
collision_mask = 16
|
|
input_ray_pickable = false
|
|
priority = 1
|
|
gravity_space_override = 1
|
|
gravity_point = true
|
|
gravity_point_unit_distance = 1.0
|
|
gravity_point_center = Vector3(0, 0, 0)
|
|
gravity_direction = Vector3(0, 0, 0)
|
|
gravity = 3.33
|
|
|
|
[node name="CollisionShape3D" type="CollisionShape3D" parent="gravity_field"]
|
|
shape = SubResource("SphereShape3D_4koj6")
|
|
|
|
[node name="CollisionShape3D" type="CollisionShape3D" parent="."]
|
|
shape = SubResource("SphereShape3D_54whn")
|