Position of the Weapon using point

How do I…

Change the position of my weapon to my player wherein it needs to align. I am a newbie and I need help.

What is the expected result

I need it to align with my player

What is the actual result

It doesn’t align at all and i dont know what to do

Related screenshots

Project files (optional)

In scene editor double click your player then click edit points

Add new point
Name it GunPoint
Change its position so it is where you want your gun to be

And use this action without condition to change your gun to that point
image

1 Like

I also change the position but that is still the result

1 - Be sure that gun and player are on same layer

If they are then your gun is ultra huge image with a lot of empty space
And you should trim down its size to size of actual gun

2 - Double click your gun
And move center and origin point to handle of your gun
Something like what you see on image
Now add also new point you will call Bullet
You will use it to determine where to create bullets Gun.PointX(“Bullet”) same for Y

And going further you should do same thing to your bullet
I mean changing center and origin point
Where if it would be like pistol bullet i would move it to center of left edge of bullet
If it would be like BALL i would just make sure both points are in center

BTW notice how image of gun is exactly size of gun itself
I don’t have there no unecessary empty space