فهرست منبع

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