23 lines
977 B
Plaintext
23 lines
977 B
Plaintext
[gd_scene load_steps=5 format=3 uid="uid://vvq7jugpnvia"]
|
|
|
|
[ext_resource type="PhysicsMaterial" uid="uid://clyaty70wifjj" path="res://cubes/physics/cube_physics.tres" id="1_4p4wg"]
|
|
[ext_resource type="PackedScene" uid="uid://dtt8ve3lnqbg4" path="res://cubes/physics/cube_blue.blend" id="2_73wg6"]
|
|
[ext_resource type="Script" path="res://cubes/physics/physics_death.gd" id="2_khmoa"]
|
|
|
|
[sub_resource type="BoxShape3D" id="BoxShape3D_a4su7"]
|
|
size = Vector3(3, 3, 3)
|
|
|
|
[node name="CubeBlue" type="RigidBody3D" node_paths=PackedStringArray("mesh", "colliders")]
|
|
collision_layer = 25
|
|
mass = 0.25
|
|
physics_material_override = ExtResource("1_4p4wg")
|
|
script = ExtResource("2_khmoa")
|
|
mesh = [NodePath("cube")]
|
|
colliders = [NodePath("CollisionShape3D")]
|
|
|
|
[node name="CollisionShape3D" type="CollisionShape3D" parent="."]
|
|
shape = SubResource("BoxShape3D_a4su7")
|
|
|
|
[node name="cube" parent="." instance=ExtResource("2_73wg6")]
|
|
transform = Transform3D(1.5, 0, 0, 0, 1.5, 0, 0, 0, 1.5, 0, 0, 0)
|