29 lines
908 B
Plaintext
29 lines
908 B
Plaintext
[gd_scene load_steps=4 format=3 uid="uid://ck31g3hvggoh"]
|
|
|
|
[ext_resource type="Script" path="res://Scripts/LaserBeam.cs" id="1_52i1t"]
|
|
|
|
[sub_resource type="SphereShape3D" id="SphereShape3D_n8opw"]
|
|
radius = 0.05
|
|
|
|
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_wdq46"]
|
|
emission_enabled = true
|
|
emission = Color(1, 1, 0, 1)
|
|
emission_energy_multiplier = 10.0
|
|
|
|
[node name="LaserBeam" type="Node3D" node_paths=PackedStringArray("rigidBody")]
|
|
script = ExtResource("1_52i1t")
|
|
rigidBody = NodePath("RigidBody3D")
|
|
|
|
[node name="RigidBody3D" type="RigidBody3D" parent="."]
|
|
mass = 0.1
|
|
gravity_scale = 0.0
|
|
|
|
[node name="CollisionShape3D" type="CollisionShape3D" parent="RigidBody3D"]
|
|
shape = SubResource("SphereShape3D_n8opw")
|
|
|
|
[node name="CSGSphere3D" type="CSGSphere3D" parent="RigidBody3D/CollisionShape3D"]
|
|
radius = 0.05
|
|
radial_segments = 24
|
|
rings = 12
|
|
material = SubResource("StandardMaterial3D_wdq46")
|