Im trying to make a flamethrower in unity and I intend for the hitbox to just be a rectangle being pointed towards the cursor. I got it to follow the cursor but it rotates from the center and not from the end like I want
What I am looking for is for the box to rotate from this base
I set the box as a parent of the gun the player holds to keep its position locked but that did not change the fact that it rotates from the center.
