Files
3d-car-game/car.gd
2025-07-12 12:51:27 -04:00

9 lines
172 B
GDScript

class_name Car
extends RigidBody3D
@export var wheels: Array[Wheel]
func _physics_process(_delta: float) -> void:
for wheel: Wheel in wheels:
wheel.apply_forces(self)