Преглед изворни кода

:beetle: Fix pitch and turn torque

DricomDragon пре 4 месеци
родитељ
комит
d75cf58c50
1 измењених фајлова са 2 додато и 2 уклоњено
  1. 2 2
      godot/component/entity/vehicles/biplan/biplan.gd

+ 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: