khanat-client/scenes/player/creature_raference.gd

28 lines
713 B
GDScript3

extends KinematicBody
# Declare member variables here. Examples:
# var a = 2
# var b = "text"
var rotation_speed_factor = 0.01
var move_speed = 2.5
var run_speed = 5.0
var max_speed = 12.0
export var gravity = -9.0
var animation_walk = "_bip01_ca_female_march"
var animation_run = "_bip01_ca_female_run"
var animation_scan_loop = "_bip01_ca_female_scanne_loop"
var animation_teleport_loop = "_bip01_ca_female_teleporte_loop"
# Called when the node enters the scene tree for the first time.
func _ready():
pass # Replace with function body.
# Called every frame. 'delta' is the elapsed time since the previous frame.
#func _process(delta):
# pass
func get_animation_idle():
return "_bip01_ca_female_idle"