28 lines
1.0 KiB
Plaintext
28 lines
1.0 KiB
Plaintext
[gd_scene load_steps=5 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"]
|
|
|
|
[node name="CelestialBody" type="RigidBody3D"]
|
|
script = ExtResource("1_uxu4s")
|
|
metadata/_custom_type_script = "uid://dok35h0q4pseh"
|
|
|
|
[node name="Surface" type="MeshInstance3D" parent="."]
|
|
mesh = SubResource("SphereMesh_vi0nt")
|
|
|
|
[node name="CollisionShape3D" type="CollisionShape3D" parent="."]
|
|
shape = SubResource("SphereShape3D_uxu4s")
|
|
|
|
[node name="OmniLight3D" type="OmniLight3D" parent="."]
|
|
light_color = Color(0.958646, 0.7997282, 0.55087835, 1)
|
|
omni_range = 200000.0
|
|
omni_attenuation = 2.0
|