From 0823c295a3b03d98be356b239a3f74f05795d9c9 Mon Sep 17 00:00:00 2001 From: dusoleil Date: Sat, 23 Jul 2022 13:26:21 -0400 Subject: Smooth Rotation of Chickens --- Chicken.tscn | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'Chicken.tscn') 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 ) -- cgit v1.2.3