Search Unity

  1. Unity 6 Preview is now available. To find out what's new, have a look at our Unity 6 Preview blog post.
    Dismiss Notice
  2. Unity is excited to announce that we will be collaborating with TheXPlace for a summer game jam from June 13 - June 19. Learn more.
    Dismiss Notice

Question I need help from those experienced in creating 2D weapon attacks

Discussion in 'Animation' started by DTheChemist, Nov 8, 2021.

  1. DTheChemist


    Jan 18, 2021
    Hello all,

    Ive made an attack but it feels a bit off. i dont know how to set my weapon with a hitbox so that it extends across the weapon so i can make contact with the enemy 100%. i got the idea but im not doing it right im sure

    Do anyone here have any blogs or Youtube channels showing your method how to add a collision to a hit box for a weapon attack properly? When i add it the box stays there while i walk which of course i dont want.

    1) How do i add the collision box to my whip so the entire weapon makes contact
    2) Is there a method i can follow where the hit box only appears when triggered?

    Thanks. All visual examples are appreciated