Search Unity

using animation events for jump

Discussion in 'Animation' started by george_abashidze, Jul 8, 2021.

  1. george_abashidze

    george_abashidze

    Joined:
    Jun 17, 2021
    Posts:
    21
    Hi, I have one question, is it safe to use animation event for jump?

    for example I have run jump animation and it doing some steps before jump and then jump

    I want realistic jump so I decided to add event there, when body starts raising and jumping, after that I'm doing real jump with character controller.

    now back to my question. is it safe? what if event will not be called
     
  2. KalOBrien

    KalOBrien

    Administrator

    Joined:
    Apr 20, 2021
    Posts:
    89
    I mean, its safe to do so but your jump script will possibly have to be tight and called correctly in order to look good.
    I dont see anything inherently unsafe by using an event to call your jump.
     
  3. george_abashidze

    george_abashidze

    Joined:
    Jun 17, 2021
    Posts:
    21
    ok thanks