first init
This commit is contained in:
8
Assets/player_ship.gd
Normal file
8
Assets/player_ship.gd
Normal file
@@ -0,0 +1,8 @@
|
||||
extends RigidBody3D
|
||||
|
||||
@export var _start_direction: Vector3
|
||||
@export var _start_speed: float
|
||||
|
||||
func _ready():
|
||||
# apply_force(_, global_position)
|
||||
apply_central_force(_start_direction.normalized() * _start_speed)
|
||||
Reference in New Issue
Block a user