Search Unity

Jumping

Discussion in 'Physics' started by Hanzi3oy, Nov 2, 2015.

  1. Hanzi3oy

    Hanzi3oy

    Joined:
    Nov 2, 2015
    Posts:
    2
    Hello.

    Do someone know how you make you character bunny jump like in CS GO?

    Soo you get the boost from when you drag to the side!
     
  2. gorbit99

    gorbit99

    Joined:
    Jul 14, 2015
    Posts:
    1,350
    That's not a feature, it's a bug. It isn't in the game, because they intended it this way. It works, because in most of fps games going diagonal is faster than normal movement, and jumping while moving diagonal is even faster.
     
  3. Hanzi3oy

    Hanzi3oy

    Joined:
    Nov 2, 2015
    Posts:
    2
    Soo you can`t make it at all?

    But thanks :D
     
  4. gorbit99

    gorbit99

    Joined:
    Jul 14, 2015
    Posts:
    1,350
    If you set up the movement just like in CS:GO, you pay attention to every single detail and/or have the source code, then it's possible
     
  5. Van31stADA

    Van31stADA

    Joined:
    Jun 24, 2015
    Posts:
    6
    I imagine fiddling with the source code of the jump to scale the velocity up and down with trigger points on the joints and adding the animation, the animation would be a big part of it, then say once the players joints reach a certain height then a "hop" feature would trigger, but from my experience with scripting and animation pulling something like this off would become very buggy(can't say for sure because I have personally never done a hop feature) but would only attempt to recreate a hop feature if it was absolutely necessary to the game.