9 lines
215 B
GDScript
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)
|