Download

Custom Weapon

I’ve tried a few methods to get my weapon model into the engine
this: Unreal Engine 4 Tutorial: Custom Weapon (english) - YouTube
and this: Unreal Engine 4 Tutorials - Tutorial 1 - Importing your own Custom Weapon - YouTube

Both doesn’t work for me … for some reason the weapon always faces the opposite side…

You need to rotate the weapon inside your content creation tool (3ds Max, Blender, or whatever,) and then re-export it.

After rotating your weapon 180 degrees, don’t forget to apply rotation.

you need to state which 3d program your using for us to help more, in most cases like this its the alignment of the “bone” axis thats at fault. i always align the “X” axis to point along the weapon, it’s been the same process for Unreal Engines for years

Why do i need to rotate it ? I thought the bone supposed to make it so the engine knows what position it looks it and it’s the same location that the exported rifle(Epic’s gun from the shooter example) looking at.

Check your export/import settings if you are not overriding x axis sign, and make sure X is your forward direction and Z up.

i had the same problem with my weapon , it was facing the wrong direction when imported into unreal , but it was looking right in maya .
What unreal shows you , is the 0.0.0 position of the mesh , and not the skeleton . if you turn on " show skeleton " in unreal , you will see that your skeleton is in the right place , but your mesh is in its 0.0.0 position .
What i did to fix it was putting the mesh into the position i want it to be And zeroing out Translation/Rotation/Scale before binding it to skeleton . this way my models always look right in unreal.