• Godot Help
  • My Vehicle Wheels Are Constantly Skidding

From reading other threads I've added a Physics Material to both the Vehicle node and the ground. Both have 1 for Friction and Rough is enabled.

But using the following code, my wheels are always skidding:

	#	ARE BACK WHEELS SKIDDING
	if $wheel_BL.get_skidinfo() or $wheel_BR.get_skidinfo():
		print("SKIDDING BACK")
		skid += "back "
	
	#	ARE FRONT WHEELS SKIDDING
	if $wheel_FL.get_skidinfo() or $wheel_FR.get_skidinfo() :
		print("SKIDDING FRONT")
		skid += "front"
	
	lbl_skid.text = skid

Any ideas?

Cheers

P.S. Dunno what is happening with the code comments...???

Did you add physics materials to the wheels? I haven't really done anything with the VehicleBody myself but I have a sneaking feeling the wheels might need their own physics materials.

    Megalomaniak

    Without checking I'm pretty certain that they don't have their own Physics Materials.

    The skid state even reports skidding whilst being dropped through the air.