I don't know what does car's engine_force
mean. I have tested that setting wheels' engine_force
is fine.
FrontLeft, FrontRight
are two VehicleWheel3D nodes.
extends VehicleBody3D
@onready var wheels : Array = [$FrontLeft, $FrontRight]
func _process(delta):
for wheel in wheels:
wheel.engine_force = 100