]> Untitled Git - star-foxy.git/blob - player/bullet.gd
Updated with keyboard controls
[star-foxy.git] / player / bullet.gd
1 extends KinematicBody
2
3
4 # Declare member variables here. Examples:
5 # var a = 2
6 # var b = "text"
7 var SPEED = 200
8 var direction = Vector3.ZERO
9
10 # Called when the node enters the scene tree for the first time.
11 func _ready():
12         pass # Replace with function body.
13
14
15 # Called every frame. 'delta' is the elapsed time since the previous frame.
16 func _process(delta):
17         translation += SPEED * direction * delta