[gd_scene load_steps=5 format=2] [ext_resource path="res://Obstacles/swinging_axe.obj" type="ArrayMesh" id=1] [sub_resource type="SpatialMaterial" id=1] metallic = 1.0 [sub_resource type="BoxShape" id=2] extents = Vector3( 3, 1.27738, 1 ) [sub_resource type="Animation" id=3] resource_name = "swing" length = 3.0 loop = true tracks/0/type = "value" tracks/0/path = NodePath(".: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, 1.5, 3 ), "transitions": PoolRealArray( 2.63902, 2.63902, 2.54912 ), "update": 0, "values": [ Vector3( 0, 0, 80 ), Vector3( 0, 0, -80 ), Vector3( 0, 0, 80 ) ] } [node name="SwingingAxe" type="Spatial"] transform = Transform( 0.173648, -0.984807, 0, 0.984807, 0.173648, 0, 0, 0, 1, 0, 0, 0 ) [node name="MeshInstance" type="MeshInstance" parent="."] mesh = ExtResource( 1 ) material/0 = SubResource( 1 ) [node name="StaticBody" type="StaticBody" parent="MeshInstance"] [node name="CollisionShape" type="CollisionShape" parent="MeshInstance/StaticBody"] transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, -5.6317, 0 ) shape = SubResource( 2 ) [node name="AnimationPlayer" type="AnimationPlayer" parent="."] autoplay = "swing" anims/swing = SubResource( 3 )