33 lines
1.5 KiB
Plaintext
33 lines
1.5 KiB
Plaintext
[gd_scene load_steps=6 format=3 uid="uid://brqqgidqchi88"]
|
|
|
|
[ext_resource type="Script" path="res://Scripts/Asteroid.cs" id="1_ph38x"]
|
|
[ext_resource type="PackedScene" uid="uid://chkv84s8orhbr" path="res://Packed-Scenes/AsteroidExplosion.tscn" id="2_5u6ml"]
|
|
[ext_resource type="ArrayMesh" uid="uid://eepwnfw5v6tw" path="res://Meshes/asteroid_03.mesh" id="3_a00wf"]
|
|
[ext_resource type="Material" uid="uid://ck5lw8ahodm7l" path="res://Material/asteroid_03.tres" id="4_lmllt"]
|
|
|
|
[sub_resource type="SphereShape3D" id="SphereShape3D_iq8kl"]
|
|
radius = 0.847
|
|
|
|
[node name="Asteroid_03" type="Node3D" node_paths=PackedStringArray("asteroidCollisionShape", "asteroidMesh", "AsteroidRb", "particleCollision")]
|
|
transform = Transform3D(0.25, 0, 0, 0, 0.25, 0, 0, 0, 0.25, 0, 0, 0)
|
|
script = ExtResource("1_ph38x")
|
|
asteroidCollisionShape = NodePath("RigidBody3D/CollisionShape3D")
|
|
asteroidMesh = NodePath("RigidBody3D/prop_asteroid_03")
|
|
AsteroidRb = NodePath("RigidBody3D")
|
|
explosion = ExtResource("2_5u6ml")
|
|
particleCollision = NodePath("RigidBody3D/GPUParticlesCollisionSphere3D")
|
|
|
|
[node name="RigidBody3D" type="RigidBody3D" parent="."]
|
|
gravity_scale = 0.0
|
|
|
|
[node name="CollisionShape3D" type="CollisionShape3D" parent="RigidBody3D"]
|
|
shape = SubResource("SphereShape3D_iq8kl")
|
|
|
|
[node name="prop_asteroid_03" type="MeshInstance3D" parent="RigidBody3D"]
|
|
mesh = ExtResource("3_a00wf")
|
|
skeleton = NodePath("")
|
|
surface_material_override/0 = ExtResource("4_lmllt")
|
|
|
|
[node name="GPUParticlesCollisionSphere3D" type="GPUParticlesCollisionSphere3D" parent="RigidBody3D"]
|
|
radius = 0.75
|