Search Unity

Question Player Falls slow

Discussion in 'Editor & General Support' started by firedarknoahgaming, Dec 26, 2022.

  1. firedarknoahgaming

    firedarknoahgaming

    Joined:
    Apr 13, 2020
    Posts:
    3
    When i Freezed my xyz rotation my player and if i go off the map i fall very slow how do i make it faster. is there any settings i have to change to fall faster? upload_2022-12-26_15-3-31.png
     

    Attached Files:

  2. firedarknoahgaming

    firedarknoahgaming

    Joined:
    Apr 13, 2020
    Posts:
    3
    sorry for grammar issue
     
  3. Kurt-Dekker

    Kurt-Dekker

    Joined:
    Mar 16, 2013
    Posts:
    38,745
    Does your PlayerController manipulate the y component of the Rigidbody velocity? If so, fix that.

    If you're not sure, start the game, jump, then disable the PlayerController. Does it fall more reasonably?

    Also, check the gravity setting. It's obviously very tightly coupled to scale. Unity Physics expects 1 world unit equal to 1 meter

    Also, make sure you're not bypassing physics.

    With Physics (or Physics2D), never manipulate the Transform directly. If you manipulate the Transform directly, you are bypassing the physics system and you can reasonably expect glitching and missed collisions and other physics mayhem.

    Always use the .MovePosition() and .MoveRotation() methods on the Rigidbody (or Rigidbody2D) instance in order to move or rotate things. Doing this keeps the physics system informed about what is going on.

    https://forum.unity.com/threads/col...-unity-physic-rigidbody.1216875/#post-7763061

    https://forum.unity.com/threads/oncollisionenter2d-not-being-called.1266563/#post-8044121
     
  4. firedarknoahgaming

    firedarknoahgaming

    Joined:
    Apr 13, 2020
    Posts:
    3
    thank you that worked
     
    Kurt-Dekker likes this.