24 lines
503 B
GDScript3
24 lines
503 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
|
|
|
|
|
|
# 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"
|