Files
Godot-Experements/Experiments/SpaceMove/Scripts/player_ship.gd
ArthurErlich 50e6f8b509
All checks were successful
Coding Quality / Build and analyze (pull_request) Successful in 2m10s
chore: restructured project
2026-03-19 21:26:44 +01:00

9 lines
215 B
GDScript

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)