Просмотр исходного кода

:wrench: Increase wheel mass

To prevent crazy bouncing from chicken.
DricomDragon 2 лет назад
Родитель
Сommit
40a7a83831

+ 1 - 1
godot/component/entity/chick/Chicken.gd

@@ -6,7 +6,7 @@ enum State {IDLE, WALKING, ANGRY, RUNNING}
 
 export var walk_linear_speed = 100
 export var run_boost = 4
-export var push_impulse = 100
+export var push_impulse = 150
 
 var velocity = Vector2.ZERO
 

+ 1 - 1
godot/component/entity/wheel/Wheel.tscn

@@ -11,7 +11,7 @@ bounce = 0.9
 radius = 33.1812
 
 [node name="Wheel" type="RigidBody2D" groups=["wheel"]]
-mass = 0.25
+mass = 0.5
 physics_material_override = SubResource( 2 )
 angular_damp = 0.0
 script = ExtResource( 2 )