Ajout d'un autre mur et ajustements dans la physique.
This commit is contained in:
		| @@ -111,10 +111,10 @@ void Player::ApplyPhysics(Vector3f input, World world, float elapsedTime) { | ||||
| 		m_velocity.z += input.z * 2.f * elapsedTime; | ||||
|  | ||||
| 		if (input.x == 0.f)  | ||||
| 			m_velocity.x *= .6f; | ||||
| 			m_velocity.x *= .8f; | ||||
| 		 | ||||
| 		if (input.z == 0.f)  | ||||
| 			m_velocity.z *= .6f; | ||||
| 			m_velocity.z *= .8f; | ||||
| 	} | ||||
| 	else { | ||||
| 		m_velocity.x += input.x * .4f * elapsedTime; // Techniquement contre les lois de la physique, mais c'est beaucoup moins chiant pour grimper sur les blocs. | ||||
|   | ||||
		Reference in New Issue
	
	Block a user