chore: restructured project
All checks were successful
Coding Quality / Build and analyze (pull_request) Successful in 2m10s
All checks were successful
Coding Quality / Build and analyze (pull_request) Successful in 2m10s
This commit is contained in:
8
Experiments/SpaceMove/Scripts/player_ship.gd
Normal file
8
Experiments/SpaceMove/Scripts/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