dora/Player.gd

18 lines
370 B
GDScript
Raw Normal View History

2018-07-19 15:36:56 +02:00
extends KinematicBody
2018-07-19 15:36:51 +02:00
2018-07-19 15:36:56 +02:00
var velocity = Vector3()
2018-07-19 15:36:51 +02:00
func _ready():
# Called every time the node is added to the scene.
# Initialization here
pass
2018-07-19 15:36:56 +02:00
func _physics_process(delta):
var direction = Vector3()
# if Input.is_action_pressed("movement_forward"):
2018-07-19 15:36:51 +02:00
#func _process(delta):
# # Called every frame. Delta is time since last frame.
# # Update game logic here.
2018-07-19 15:36:56 +02:00
# pass