How to use a 2D sprite as a weapon in a 3D FPS?
Hello, I have been trying to figure out a way to use a sprite in place of a weapon, or 3d model for a weapon, in an fps formatted game. I am also interested as to how to create enemy ai with 2d sprites. My goal is to have an fps similar to Doom 1/2. Thank you.
asked Oct 18 '15 at 01:47 AM in Using UE4
I like where your going with this!! First of all make sure your using the 1st person template and not a 2D template.
Open up the character BP (firstpersoncharacter) and make sure your in the viewport.
Add the paperflipbook component (top left) attach it to the scene root. As far as the sprite making, importing and using flipbook, I can elaborate more but that's a topic in itself but if you have questions about I can answer. For me i'm using Wolverine from MvC2
Set your sprite to what it is that is your weapon. After you may want to rotate and position the sprite in front of the camera so it looks like it is a visible element of the camera. also delete the other attached components, i left mine in the picture to better illustrate the capabilities.
And that basically it on how to add the sprites to 3d games. You can use this set up for a numerous amount of actors like your enemies. to make everything flow and look cohesive like doom has to do with the BP programming of the sprites. Which I can help with specifically.
also I just realized you posted this years ago
answered Apr 28 '17 at 06:30 PM
Follow this question
Once you sign in you will be able to subscribe for any updates here