I am struggling and thought I could get help here! I am following Unreal Sensei FPS game tutorial and I’ve gotten to the weapon blueprint area. He mentioned about switching it out for a shotgun and thought why not. Would go well with the horror idea I had either way. Anyways, I imported one I found and since then I haven’t been able to scale it correctly, and also doesn’t show in the viewport for the BP_ FirstPersonCharacter. If I use the left mouse button to fire and making sure it work with the print string. I get errors. Wondering if anyone could help me out!
Things I have done:
Rescale in Maya
Instead of snap to Target (Both to Location and Scale Rule), I did both relative and world and it just floats above the arms and moves with the arms so they won’t stick together
Hey there @RottenMic! Welcome to the community! As for the size issue, If the shotgun’s scale is correct when imported, you should actually keep it’s scale portion of the transform uniform (1,1,1), right now you’re making it take the Arm’s scale (and location and rotation) two of which are likely fine.
Next the shooting issue is that the shotgun variable is null when it’s accessed. This means you aren’t setting the variable, and you can see this in the image you showed. To correct this, connect the Set Shotgun in your execution flow:
Lastly, for the visual issue, it’s possible the position is snapping to the wrong location or possibly the wrong rotation. Launch the game in play in editor mode, equip the shotgun, the hit F8 and check the position of the shotgun. If it’s incorrect you may need to change the snapping in your Attach Component to Component.