How to make gun stay in frame (3d) [SOLVED]

nope same result

gun rotates around it’s center instade of origin/edge

Please show your events, editor of the gun and a screen recording.


Please show a screenshot by your gun.


Dont lock your shotgun with z-order, X and Y.
Remove the change X and Y pos action.

change them to what?

Just delete the events what are about shotgun.
Place the shotgun just on a layer above our base layer.

but then the gun wont move with the camera

Use the pointer lock exetion.

the shotgun is a object in the scene, if i dont make it follow the camera object it will be stationary, if i put it on a diffrent layer it still dosent move

Do want it like the multieplayer fps exepla.

when i do what you said. this happens

like i said, its stationary

image
image

FFS, some of the posts are so badly written my eyes are on fire.

@RichTheGameDeveloper Sorry
English is not my main language.

I found something that may help.

it dosent, its just the basics movment and camera. no fps things, the fps example exsist but it costs money

Try to use with it 3d raycast.

i dont see how that would work

So you use the exampla for the 3d movement.
Then create a new layer smack your gun on it.
The exampla is just a FPS but with out gun rendering it.

again, that wouldnet work as the gun will be stationary, aka. it wont move