Search Unity

Animating Bat Swing

Discussion in 'Animation' started by danielleholland, Apr 22, 2017.

  1. danielleholland

    danielleholland

    Joined:
    Jan 15, 2017
    Posts:
    1
    Hello, I am a beginner to unity and have a few questions.

    Right now we have a baseball player that swings a bat with changing acceleration based on an array in the database.

    However, we need to simplify the information in our database and I wanted to know if what we have simplified it to would be enough to animate a swing.

    We have the starting X, Y, and Z positions and the corresponding ending positions, and the starting X, Y, and Z rotation and the corresponding ending rotation.

    Is there a way to pull an instance from the database with these values and create a curved path for the bat to follow?