Browse Source

:wrench: Add angular damping to BiPlan

DricomDragon 1 month ago
parent
commit
ed3f6a0b50

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

@@ -4,8 +4,8 @@ extends SeatedVehicle
 const PLANE_FORWARD := Vector3.BACK # z increases when moving forward
 
 @export var thrust_power: float = 3500.0
-@export var turn_to_torque: float = 1000.0
-@export var move_to_pitch: float = 2000.0
+@export var turn_to_torque: float = 3000.0
+@export var move_to_pitch: float = 4000.0
 @export var wing_resistance: float = 2500.0
 @export var foil_resistance: float = 250.0
 @export var lift: float = 25.0

+ 1 - 0
godot/component/entity/vehicles/biplan/biplan.tscn

@@ -28,6 +28,7 @@ collision_mask = 27
 mass = 500.0
 contact_monitor = true
 max_contacts_reported = 1
+angular_damp = 2.0
 script = ExtResource("1_vi3fj")
 
 [node name="TheWindWaker_noWheel" parent="." instance=ExtResource("2_mr41j")]