From 478a871ee983fc40802b0826764479903cfd4422 Mon Sep 17 00:00:00 2001 From: blujai831 Date: Wed, 9 Apr 2025 17:54:26 -0700 Subject: [PATCH] Rename AutoPathFollow to MovingPlatform. (At some point during early development of the class, it ceased to be purely focused on automatically moving an object along a path, and became much more specifically focused on implementing a moving platform and only a moving platform.) --- props/{auto_path_follow.gd => moving_platform.gd} | 2 +- props/{auto_path_follow.gd.uid => moving_platform.gd.uid} | 0 props/platform_constructed.tscn | 2 +- 3 files changed, 2 insertions(+), 2 deletions(-) rename props/{auto_path_follow.gd => moving_platform.gd} (96%) rename props/{auto_path_follow.gd.uid => moving_platform.gd.uid} (100%) diff --git a/props/auto_path_follow.gd b/props/moving_platform.gd similarity index 96% rename from props/auto_path_follow.gd rename to props/moving_platform.gd index 70c0a5d..db227e2 100644 --- a/props/auto_path_follow.gd +++ b/props/moving_platform.gd @@ -1,4 +1,4 @@ -class_name AutoPathFollow extends PathFollow3D +class_name MovingPlatform extends PathFollow3D @export var speed: float = 1.0 @export var pause_at_ends: float = 1.0 diff --git a/props/auto_path_follow.gd.uid b/props/moving_platform.gd.uid similarity index 100% rename from props/auto_path_follow.gd.uid rename to props/moving_platform.gd.uid diff --git a/props/platform_constructed.tscn b/props/platform_constructed.tscn index 6aeb559..def5a33 100644 --- a/props/platform_constructed.tscn +++ b/props/platform_constructed.tscn @@ -1,6 +1,6 @@ [gd_scene load_steps=5 format=3 uid="uid://dsgofpf33wf3c"] -[ext_resource type="Script" uid="uid://bk4rnp6ytjley" path="res://props/auto_path_follow.gd" id="1_8irhf"] +[ext_resource type="Script" uid="uid://bk4rnp6ytjley" path="res://props/moving_platform.gd" id="1_8irhf"] [ext_resource type="PackedScene" uid="uid://dkr18e7uct18e" path="res://models/props/platform_constructed.blend" id="1_nde2r"] [sub_resource type="CylinderShape3D" id="CylinderShape3D_goegf"]