Search Unity

Question How can i achieve this gameplay in unity?

Discussion in 'Animation' started by Poi7ioN, Oct 8, 2021.

  1. Poi7ioN

    Poi7ioN

    Joined:
    Apr 15, 2019
    Posts:
    3
  2. razzraziel

    razzraziel

    Joined:
    Sep 13, 2018
    Posts:
    396
    So it looks like you're trying that with 3d (by looking at the model you bought). You need IK to achieve that. Player will move the IK target, and your bones automatically get correct rotations depending on players target.
     
  3. Poi7ioN

    Poi7ioN

    Joined:
    Apr 15, 2019
    Posts:
    3
    Thanks for the reply, i'll surely try this out.
    I've also came up with a solution could you check if it's applicable or not.
    What im doing is, the player assets contains idle and hit animation rigged already. so i was trying to controll the animation clip with touch drag or a slider maybe i.e the user can control the hit animations time frame with slider values clamped from 0 to 1.?
    Don't know if this will help me achive the same experience as the game im targetting.
    So Please do tell me if this will work or not ! Thanks again for your help.
     
  4. razzraziel

    razzraziel

    Joined:
    Sep 13, 2018
    Posts:
    396
    No you won't achieve your expected result with that method. You need to use IK.