How to make my player model hold a gun in a 3D top down shooter?

I have looked around for tutorials for this but can only find it for 2D games. When using the same “code” for 3D models it flies around. I also can’t seem to find out how to add a point to a 3D model, is this not supported?

My player rotates with the cursor. When I move the cursor, the gun doesn’t follow but instead rotates in the opposite direction.

Any help would be appreciated.

In 3d engines you would attach the gun to a specific bone from your skeleton armature, but Gdevelop doesnt support this yet, hopefully one day it will.

As a workaround you could change the origin in your 3d model to any position you want.