Make skidding happen less often.
This commit is contained in:
		
							parent
							
								
									6287e74ba5
								
							
						
					
					
						commit
						3b0b3bbaf4
					
				| 
						 | 
				
			
			@ -1135,7 +1135,7 @@ func _on_sprint_state_tick(delta: float) -> void:
 | 
			
		|||
		soft_force_change_state(&'jump')
 | 
			
		||||
	elif top_speed_proximity < 0.375:
 | 
			
		||||
		state = &'run'
 | 
			
		||||
	elif _get_effective_impetus().dot(linear_velocity) <= -0.75:
 | 
			
		||||
	elif _get_effective_impetus().dot(linear_velocity) <= -0.96875:
 | 
			
		||||
		state = &'skid'
 | 
			
		||||
 | 
			
		||||
func _on_jump_state_start() -> void:
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue