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.
 
 

23 lines
664 B

[gd_scene load_steps=3 format=2]
[ext_resource path="res://assets/models/plants/canon/plant_canon_export_Actions.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()[1]
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="plant_canon_export_Actions" instance=ExtResource( 1 )]
transform = Transform( 0.5, 0, 0, 0, 0.5, 0, 0, 0, 0.5, 0, 0, 0 )
script = SubResource( 1 )