You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

26 lines
765 B

[gd_scene load_steps=3 format=2]
[ext_resource path="res://assets/models/pirate/pirate_export-2.escn" type="PackedScene" id=1]
[sub_resource type="GDScript" id=1]
script/source = "extends Spatial
func _ready():
var child2 = get_node(\"AnimationPlayer\")
var anim_name = child2.get_animation_list()[0]
var anim = child2.get_animation(anim_name)
anim.length = 1.3333333
anim.loop = true
child2.add_animation(\"anim\", anim)
child2.current_animation = \"anim\"
child2.play()
"
[node name="pirate_export-2" instance=ExtResource( 1 )]
script = SubResource( 1 )
[node name="Bone016BoneAttachment" parent="Armature" index="1"]
transform = Transform( 1, 2.38419e-07, -1.04794e-13, 1.77636e-15, 0, -1, -2.38419e-07, 1, 0, 2.7195e-14, 4.58208, -1.49384e-06 )