Godot Car Tutorial

Аватар автора
JavaScript в учебных целях
This is a super quick tutorial on using the awesome VehicleBody and VehicleWheel nodes in Godot. By the end, you&have a working car with suspension, damping, torque, steering and collisions. If you like the faster format, please let me know in the comments. And please like and subscribe for more videos! EDIT: The rpm variable needs to be turned into a positive value or you&accelerate backwards to infinite speed. Now while that IS really fun, if you want to fix it, use abs() to make sure the rpm is an absolute (positive only) value when you calculate the torque. Line 9 should be: var rpm = abs($back_left_wheel.get_rpm()) and line 11: rpm = abs($back_right_wheel.get_rpm()) Sorry!!

0/0


0/0

0/0

0/0