Search Unity

Question how to make an object swing

Discussion in 'Visual Scripting' started by RachelSherrick, Sep 28, 2023.

  1. RachelSherrick

    RachelSherrick

    Joined:
    Sep 28, 2023
    Posts:
    5
    I have a mallet that I want to hit a ball with. I want the S key to rotate the mallet back at increments (which I've done), and I want the W key to then let the mallet drop and swing to hit the ball. I am completely new to unity so maybe this too complicated for me, but is it possible to do that using visual scripting? And if so, what nodes do I use?