mirror of
				https://github.com/KartKrewDev/RingRacers.git
				synced 2025-10-30 08:01:28 +00:00 
			
		
		
		
	Use InSine for the drift ease idea
This commit is contained in:
		
							parent
							
								
									bf3e99d8a9
								
							
						
					
					
						commit
						9605abf66c
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -10538,7 +10538,7 @@ INT16 K_GetKartTurnValue(const player_t *player, INT16 turnvalue)
 | 
			
		|||
				fixed_t drift_end_term = K_GetKartDriftValue(player, FRACUNIT) * FRACUNIT;
 | 
			
		||||
				fixed_t drift_exit_frac = (abs(player->drift) * FRACUNIT) / 5;
 | 
			
		||||
 | 
			
		||||
				turnfixed = Easing_Linear(
 | 
			
		||||
				turnfixed = Easing_InSine(
 | 
			
		||||
					drift_exit_frac,
 | 
			
		||||
					turnfixed,
 | 
			
		||||
					drift_end_term
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		
		Reference in a new issue