49 lines
1.9 KiB
Plaintext
49 lines
1.9 KiB
Plaintext
[gd_scene load_steps=6 format=3 uid="uid://dv18eg4xrlefe"]
|
|
|
|
[ext_resource type="Script" uid="uid://dok35h0q4pseh" path="res://scenes/celestial_bodies/celestial_body.gd" id="1_uxu4s"]
|
|
[ext_resource type="Material" uid="uid://de0xnmjf12ted" path="res://scenes/celestial_bodies/materials/sun_mat.tres" id="2_vi0nt"]
|
|
|
|
[sub_resource type="SphereMesh" id="SphereMesh_vi0nt"]
|
|
resource_local_to_scene = true
|
|
material = ExtResource("2_vi0nt")
|
|
radius = 2000.0
|
|
height = 4000.0
|
|
|
|
[sub_resource type="SphereShape3D" id="SphereShape3D_uxu4s"]
|
|
|
|
[sub_resource type="SceneReplicationConfig" id="SceneReplicationConfig_vi0nt"]
|
|
properties/0/path = NodePath(".:position")
|
|
properties/0/spawn = true
|
|
properties/0/replication_mode = 1
|
|
properties/1/path = NodePath(".:rotation")
|
|
properties/1/spawn = true
|
|
properties/1/replication_mode = 1
|
|
properties/2/path = NodePath(".:linear_velocity")
|
|
properties/2/spawn = true
|
|
properties/2/replication_mode = 1
|
|
properties/3/path = NodePath(".:angular_velocity")
|
|
properties/3/spawn = true
|
|
properties/3/replication_mode = 1
|
|
properties/4/path = NodePath(".:radius")
|
|
properties/4/spawn = true
|
|
properties/4/replication_mode = 1
|
|
|
|
[node name="CelestialBody" type="RigidBody3D" unique_id=345490070]
|
|
script = ExtResource("1_uxu4s")
|
|
auto_proxy_gravity = false
|
|
metadata/_custom_type_script = "uid://dok35h0q4pseh"
|
|
|
|
[node name="Surface" type="MeshInstance3D" parent="." unique_id=193823349]
|
|
mesh = SubResource("SphereMesh_vi0nt")
|
|
|
|
[node name="CollisionShape3D" type="CollisionShape3D" parent="." unique_id=232085687]
|
|
shape = SubResource("SphereShape3D_uxu4s")
|
|
|
|
[node name="OmniLight3D" type="OmniLight3D" parent="." unique_id=1965995953]
|
|
light_color = Color(0.958646, 0.7997282, 0.55087835, 1)
|
|
omni_range = 200000.0
|
|
omni_attenuation = 2.0
|
|
|
|
[node name="MultiplayerSynchronizer" type="MultiplayerSynchronizer" parent="." unique_id=2090029903]
|
|
replication_config = SubResource("SceneReplicationConfig_vi0nt")
|