Search Unity

Dynamic Animation

Discussion in 'Animation' started by Koval331, Jun 19, 2019.

  1. Koval331

    Koval331

    Joined:
    Feb 3, 2019
    Posts:
    114
    I want this plane to fly to the blue cube. I want to be able to animate its flight in Unity or in external software. The problem is that I don't know exactly where this cube will be during the game.

    thumbnail.png

    What are the best ways to do that? What functionality / assets / plugins to use?
     
    Last edited: Jun 19, 2019
  2. Antypodish

    Antypodish

    Joined:
    Apr 29, 2014
    Posts:
    10,778
    What you tried?
     
  3. Koval331

    Koval331

    Joined:
    Feb 3, 2019
    Posts:
    114
    Nothing yet XD. I am asking you to advise me for at least some ways to do that. I don't want to make it in a totaly wrong way and then redo this from the start.
     
  4. Antypodish

    Antypodish

    Joined:
    Apr 29, 2014
    Posts:
    10,778
    You can calculate point, using math, chord (bowstring) of the circle. Assuming bow is none ballistic (part of the circle, not parabola).

    Otherwise, you need to look into ballistic equations.
     
  5. Koval331

    Koval331

    Joined:
    Feb 3, 2019
    Posts:
    114
    Thanks. I was hoping that there was some fancy trick to do this stuff automaticlly, though :)
     
  6. Antypodish

    Antypodish

    Joined:
    Apr 29, 2014
    Posts:
    10,778
    Maybe there is. But I use that in my project.

    You can search of course for other solutions.
    Look in asset store for example, or/and forum, or/and web.