DreamBall/elements/sphere.tscn

48 lines
1.5 KiB
Text
Raw Normal View History

[gd_scene load_steps=9 format=3 uid="uid://df5m716pd6mej"]
2025-02-21 21:47:35 +01:00
[sub_resource type="PhysicsMaterial" id="PhysicsMaterial_vumbr"]
2025-02-22 17:16:30 +01:00
bounce = 0.2
2025-02-21 21:47:35 +01:00
[sub_resource type="SphereShape3D" id="SphereShape3D_xfgrm"]
2025-02-22 17:16:30 +01:00
[sub_resource type="Gradient" id="Gradient_bgp4x"]
colors = PackedColorArray(0.942957, 7.89344e-06, 0.597148, 1, 0, 0.9912, 0.9912, 1)
2025-02-22 00:19:28 +01:00
2025-02-22 17:16:30 +01:00
[sub_resource type="GradientTexture2D" id="GradientTexture2D_5d6uk"]
gradient = SubResource("Gradient_bgp4x")
fill_from = Vector2(0.504951, 0.00495049)
fill_to = Vector2(0.549505, 1)
2025-02-22 00:19:28 +01:00
2025-02-22 17:16:30 +01:00
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_qcgmu"]
albedo_texture = SubResource("GradientTexture2D_5d6uk")
[sub_resource type="SphereMesh" id="SphereMesh_bor8g"]
material = SubResource("StandardMaterial3D_qcgmu")
2025-02-22 00:19:28 +01:00
[sub_resource type="ParticleProcessMaterial" id="ParticleProcessMaterial_4tofj"]
direction = Vector3(0, 0, 0)
gravity = Vector3(0, 0, 0)
[sub_resource type="SphereMesh" id="SphereMesh_1m3ut"]
radius = 0.2
height = 0.4
radial_segments = 8
rings = 4
2025-02-21 21:47:35 +01:00
[node name="Sphere" type="RigidBody3D"]
2025-02-22 17:16:30 +01:00
collision_priority = 100.0
2025-02-21 21:47:35 +01:00
axis_lock_linear_z = true
physics_material_override = SubResource("PhysicsMaterial_vumbr")
2025-02-22 17:16:30 +01:00
contact_monitor = true
2025-02-21 21:47:35 +01:00
[node name="CollisionShape3D" type="CollisionShape3D" parent="."]
shape = SubResource("SphereShape3D_xfgrm")
2025-02-22 17:16:30 +01:00
[node name="MeshInstance3D" type="MeshInstance3D" parent="."]
mesh = SubResource("SphereMesh_bor8g")
[node name="GPUParticles3D" type="GPUParticles3D" parent="."]
amount = 16
process_material = SubResource("ParticleProcessMaterial_4tofj")
draw_pass_1 = SubResource("SphereMesh_1m3ut")