diff options
author | dusoleil <howcansocksbereal@gmail.com> | 2022-07-23 13:26:21 -0400 |
---|---|---|
committer | dusoleil <howcansocksbereal@gmail.com> | 2022-07-23 13:26:21 -0400 |
commit | 0823c295a3b03d98be356b239a3f74f05795d9c9 (patch) | |
tree | ddc52f71ee5a3ecf08b38c100812fe147417a297 /Chicken.tscn | |
parent | 4486f3ace302e709e2cea6329931869438456d69 (diff) | |
download | chicken-chaser-gd-0823c295a3b03d98be356b239a3f74f05795d9c9.tar.gz chicken-chaser-gd-0823c295a3b03d98be356b239a3f74f05795d9c9.zip |
Smooth Rotation of Chickens
Diffstat (limited to 'Chicken.tscn')
-rw-r--r-- | Chicken.tscn | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/Chicken.tscn b/Chicken.tscn index 06d1bdb..835d872 100644 --- a/Chicken.tscn +++ b/Chicken.tscn @@ -1,9 +1,10 @@ -[gd_scene load_steps=49 format=2] +[gd_scene load_steps=50 format=2] [ext_resource path="res://chicken.tres" type="Material" id=1] [ext_resource path="res://beak.tres" type="Material" id=2] [ext_resource path="res://Chicken.gd" type="Script" id=3] [ext_resource path="res://ChickenAnimation.gd" type="Script" id=4] +[ext_resource path="res://SmoothRotation.gd" type="Script" id=5] [sub_resource type="SphereMesh" id=1] @@ -603,3 +604,6 @@ script = ExtResource( 4 ) [node name="CollisionShape" type="CollisionShape" parent="."] transform = Transform( 1, 0, 0, 0, 1.5, 0, 0, 0, 1.5, 0, 0.5, -0.5 ) shape = SubResource( 67 ) + +[node name="SmoothRotation" type="Tween" parent="."] +script = ExtResource( 5 ) |