18 lines
370 B
GDScript
18 lines
370 B
GDScript
extends KinematicBody
|
|
|
|
var velocity = Vector3()
|
|
|
|
func _ready():
|
|
# Called every time the node is added to the scene.
|
|
# Initialization here
|
|
pass
|
|
|
|
func _physics_process(delta):
|
|
var direction = Vector3()
|
|
|
|
# if Input.is_action_pressed("movement_forward"):
|
|
|
|
#func _process(delta):
|
|
# # Called every frame. Delta is time since last frame.
|
|
# # Update game logic here.
|
|
# pass |