xrjamfeb2025/scenes/visual_attractor_sphere.tscn

22 lines
811 B
Text

[gd_scene load_steps=5 format=3 uid="uid://ccmx5v2601k8q"]
[ext_resource type="Script" path="res://scenes/visual_attractor_sphere.gd" id="1_62tkw"]
[ext_resource type="Shader" uid="uid://dilr5r6k3ik7t" path="res://scenes/manipulatorsphere.tres" id="2_1iign"]
[sub_resource type="SphereMesh" id="SphereMesh_56y52"]
radius = 1.0
height = 2.0
[sub_resource type="ShaderMaterial" id="ShaderMaterial_1u5an"]
render_priority = 0
shader = ExtResource("2_1iign")
shader_parameter/Albedo = Color(1, 1, 1, 1)
[node name="VisualAttractorSphere" type="GPUParticlesAttractorSphere3D"]
script = ExtResource("1_62tkw")
[node name="Visual" type="MeshInstance3D" parent="."]
layers = 2
mesh = SubResource("SphereMesh_56y52")
skeleton = NodePath("../../..")
surface_material_override/0 = SubResource("ShaderMaterial_1u5an")