DreamBall/elements/sphere.tscn
2025-02-23 17:21:13 +01:00

52 lines
1.7 KiB
Text

[gd_scene load_steps=10 format=3 uid="uid://df5m716pd6mej"]
[sub_resource type="PhysicsMaterial" id="PhysicsMaterial_vumbr"]
bounce = 0.2
[sub_resource type="SphereShape3D" id="SphereShape3D_xfgrm"]
[sub_resource type="Gradient" id="Gradient_bgp4x"]
colors = PackedColorArray(0.942957, 7.89344e-06, 0.597148, 1, 0, 0.9912, 0.9912, 1)
[sub_resource type="GradientTexture2D" id="GradientTexture2D_5d6uk"]
gradient = SubResource("Gradient_bgp4x")
fill_from = Vector2(0.504951, 0.00495049)
fill_to = Vector2(0.549505, 1)
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_qcgmu"]
albedo_texture = SubResource("GradientTexture2D_5d6uk")
[sub_resource type="SphereMesh" id="SphereMesh_bor8g"]
material = SubResource("StandardMaterial3D_qcgmu")
[sub_resource type="ParticleProcessMaterial" id="ParticleProcessMaterial_4tofj"]
direction = Vector3(0, 0, 0)
gravity = Vector3(0, 0, 0)
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_2ybet"]
vertex_color_use_as_albedo = true
albedo_color = Color(0, 0.734117, 0.734117, 1)
[sub_resource type="SphereMesh" id="SphereMesh_1m3ut"]
material = SubResource("StandardMaterial3D_2ybet")
radius = 0.2
height = 0.4
radial_segments = 8
rings = 4
[node name="Sphere" type="RigidBody3D"]
collision_priority = 100.0
axis_lock_linear_z = true
physics_material_override = SubResource("PhysicsMaterial_vumbr")
contact_monitor = true
[node name="CollisionShape3D" type="CollisionShape3D" parent="."]
shape = SubResource("SphereShape3D_xfgrm")
[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")