]> Untitled Git - baabarian.git/blob - asset/pin.tscn
* Added falling animation
[baabarian.git] / asset / pin.tscn
1 [gd_scene load_steps=4 format=3 uid="uid://yutmq76fj37a"]
2
3 [ext_resource type="Script" uid="uid://du3t77n04pc4k" path="res://class/Pinball.gd" id="1_nikp6"]
4
5 [sub_resource type="CylinderMesh" id="CylinderMesh_0o5q3"]
6
7 [sub_resource type="SphereShape3D" id="SphereShape3D_nikp6"]
8 radius = 1.0
9
10 [node name="Pin" type="RigidBody3D"]
11 collision_layer = 4
12 collision_mask = 7
13 linear_damp = 0.2
14 angular_damp = 1.0
15 script = ExtResource("1_nikp6")
16
17 [node name="mesh" type="MeshInstance3D" parent="."]
18 unique_name_in_owner = true
19 mesh = SubResource("CylinderMesh_0o5q3")
20
21 [node name="CollisionShape3D" type="CollisionShape3D" parent="."]
22 shape = SubResource("SphereShape3D_nikp6")