This is my first posted question.
Anyways, I have this old fbx gun model that I sculpted in Maya years ago and would love to replace the default FPS gun mesh that Unreal gives you as part of the FPS starting content.
Any ideas how I can go about swapping out the default for my own imported mesh? Thanks!
Do you want to use the weapon inside your project or modify the starter files so every project starts with your gun?
For the first option:
You can duplicate the BP_Rifle inside FirstPerson / Blueprints. Then, inside the duplicated blueprint you cann delete the SkeletalMesh, add a Scene and a StaticMesh and rearrange them like this:
When you click on the StaticMesh on the left in the component list, you can select a mesh in the details panel on the right. I selected a cylinder with a scale of 0,25 0,25 1, placed it in the map and was able to use it as a gun.
Although I was getting some seriously wonking collision interactions at first. Like after I picked up the weapon my character would only move to the left, and with significant force, and if I shot the gun it would force my character in the same direction even harder.
So as a solution I just set the Collision Preset of the Rifle_body (the static mesh of my gun) to NoCollision. And now I can pick it up in game and it animates perfectly, the balls spawn when shooting, and it doesn’t screw with my movement at all!
So thanks for the reply! That totally solved it for me!