Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. Dismiss Notice

2d jump height calculation

Discussion in '2D' started by shotoutgames, Jan 1, 2014.

  1. shotoutgames

    shotoutgames

    Joined:
    Dec 29, 2013
    Posts:
    283
    Hi all
    How can i calculate jump height. Following with the 2d demo using rigidbody2d and add force I am looking for the physics formula to get peak height. I want to be able to us this with npc to determine peak height with variable jump force so i can check for potential collisions with overhead platforms.
    Thanks
     
  2. unitylover

    unitylover

    Joined:
    Jul 6, 2013
    Posts:
    346
    It really depends on your mass values. The best advice I can give you is to just experiment with your situation and come up with something you are comfortable with.