28 lines
559 B
GDScript
28 lines
559 B
GDScript
extends Node3D
|
|
|
|
|
|
# Called when the node enters the scene tree for the first time.
|
|
func _ready() -> void:
|
|
target_change()
|
|
|
|
# Called every frame. 'delta' is the elapsed time since the previous frame.
|
|
func _process(delta: float) -> void:
|
|
pass
|
|
|
|
func target_change():
|
|
pass
|
|
|
|
|
|
#func save():
|
|
#var save_dict = {
|
|
#"filename" : get_scene_file_path(),
|
|
#"parent" : get_parent().get_path(),
|
|
#"pos_x" : position.x,
|
|
#"pos_y" : position.y,
|
|
#"pos_z" : position.z,
|
|
#"rot_x" : rotation.x,
|
|
#"rot_y" : rotation.y,
|
|
#"rot_z" : rotation.z,
|
|
#}
|
|
#return save_dict
|