i have a problem with the unity new fps controller with the jump , each time i jump and land it automaticly jump again and even sometimes it have unresponsive i don´t know what to do.
Adding a check for m_CharacterController.isGrounded
in the first if
statement seems to fix the continuous jumping issue for me.
Original:
if (!m_Jump)
{
m_Jump = CrossPlatformInputManager.GetButtonDown("Jump");
}
Fixed:
if (!m_Jump && m_CharacterController.isGrounded)
{
m_Jump = CrossPlatformInputManager.GetButtonDown("Jump");
}
omg thank you so much!