small racing game im working on
1
2
3
4
5
6
7
8
9
extends Node3D

@export var car: Car

func _on_track_place_car(at: Vector3, rot: Vector3) -> void:
		# await car.ready
		car.ball.global_position = at + (Vector3.UP * 2)
		car.ball.global_rotation = rot