Search Unity

Question Animator states creating semi automatic pistol HElp wanted

Discussion in 'Animation' started by bigd33103, Feb 4, 2021.

  1. bigd33103


    Jul 22, 2019
    So basically ive tried everyway i can think possible in unity animator get my gunshot sound to play on my unlimited ammo pistol, i can get it to play however im not able to shoot it rapidly. Basically i have a animation that lasts the same amount of time that the sound effect does, and a empty state. I want to be able to pull the trigger and activate the firing sound, let go of the trigger and pull the trigger again as rapidly as i want and have it play the sound again and again if and when i pull the trigger again, so yes it can interrupt itself i guess thats what im saying. ive tried everyway i can think imaginable and yet i havent been able to figure it out. I think i need to use interruption states however i still cant seem to get it to work. im using unity version 2014.4.20f1 and i cannot use custom scripts since im uploading this to the game vrchat, all help is appreciated!

    Attached Files: