2021-09-04 10:49:56 +00:00
|
|
|
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
|
2021-09-04 14:07:16 +00:00
|
|
|
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"
|
2021-09-04 10:49:56 +00:00
|
|
|
|
|
|
|
|
|
|
|
# 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"
|