Files
2025-01-20 00:27:44 +01:00

48 lines
1.5 KiB
Plaintext

[gd_scene load_steps=7 format=3 uid="uid://n27yc3x148vc"]
[ext_resource type="Script" path="res://planet_3d.gd" id="1_ah6ru"]
[sub_resource type="FastNoiseLite" id="FastNoiseLite_mbisb"]
[sub_resource type="NoiseTexture2D" id="NoiseTexture2D_vev0a"]
seamless = true
noise = SubResource("FastNoiseLite_mbisb")
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_w5x05"]
albedo_texture = SubResource("NoiseTexture2D_vev0a")
[sub_resource type="SphereMesh" id="SphereMesh_wit1y"]
material = SubResource("StandardMaterial3D_w5x05")
[sub_resource type="SphereShape3D" id="SphereShape3D_chv0q"]
[node name="Base" type="Node3D"]
[node name="RigidBody3D" type="RigidBody3D" parent="."]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -1.36111, 0, -2.81404)
visible = false
gravity_scale = 0.0
[node name="MeshInstance3D" type="MeshInstance3D" parent="RigidBody3D"]
mesh = SubResource("SphereMesh_wit1y")
[node name="CollisionShape3D" type="CollisionShape3D" parent="RigidBody3D"]
shape = SubResource("SphereShape3D_chv0q")
[node name="Planet3D" type="Planet3D" parent="."]
rotational_speed = 100.0
mass = 900000.0
gravity_scale = 0.0
linear_damp_mode = 1
angular_damp_mode = 1
script = ExtResource("1_ah6ru")
[node name="MeshInstance3D" type="MeshInstance3D" parent="Planet3D"]
mesh = SubResource("SphereMesh_wit1y")
[node name="CollisionShape3D" type="CollisionShape3D" parent="Planet3D"]
shape = SubResource("SphereShape3D_chv0q")
[node name="Camera3D" type="Camera3D" parent="."]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 1.92237)