Procházet zdrojové kódy

:beetle: Fix pitch and turn torque

DricomDragon před 4 měsíci
rodič
revize
d75cf58c50

+ 2 - 2
godot/component/entity/vehicles/biplan/biplan.gd

@@ -23,8 +23,8 @@ func trigger_thrust(activate: bool) -> void:
 
 
 func trigger_direction(dir: Vector2) -> void:
-	target_torque = -dir.x * turn_to_torque
-	target_pitch = -dir.y * move_to_pitch
+	target_torque = dir.x * turn_to_torque
+	target_pitch = dir.y * move_to_pitch
 
 
 func get_free_seat() -> Node3D: