[gd_scene load_steps=5 format=2]

[ext_resource path="res://modeling/pumpkin/pumpkin.glb" type="PackedScene" id=1]
[ext_resource path="res://PumpkinBullet.gd" type="Script" id=2]

[sub_resource type="BoxShape" id=1]
extents = Vector3( 0.4, 0.4, 0.4 )

[sub_resource type="Animation" id=2]
resource_name = "SpinSpin"
length = 2.0
loop = true
tracks/0/type = "value"
tracks/0/path = NodePath("pumpkin:rotation_degrees")
tracks/0/interp = 1
tracks/0/loop_wrap = true
tracks/0/imported = false
tracks/0/enabled = true
tracks/0/keys = {
"times": PoolRealArray( 0, 2 ),
"transitions": PoolRealArray( 1, 1 ),
"update": 0,
"values": [ Vector3( 0, 0, 0 ), Vector3( 0, -359, 0 ) ]
}

[node name="PumpkinBullet" type="KinematicBody"]
collision_layer = 2
script = ExtResource( 2 )

[node name="pumpkin" parent="." instance=ExtResource( 1 )]

[node name="CollisionShape" type="CollisionShape" parent="."]
shape = SubResource( 1 )

[node name="AnimationPlayer" type="AnimationPlayer" parent="."]
anims/SpinSpin = SubResource( 2 )

[node name="OmniLight" type="OmniLight" parent="."]
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1, 0 )
light_color = Color( 0.996078, 0.984314, 1, 1 )
omni_range = 2.01116
