Rotating Spawn Emitter
I'm trying to achieve a magic spell, that shoots a beam of sparks at the enemy. I want it to start at the players hand (couldn't find out, how to asign the hand bone from the Mesh to the "Spwan Emitter Attached) and to follow the players rotation. Despite thinking, calculating the emitter rotation correctly, shoudln't be the problem, I have serious troubles to rotate the spawn emitter at all. When I set some rotation at the "required" section, nothing happens. This Emitter spawns always to the ground. Is there any way to fix that?
I used the P_Sparks from the Starter Pack.
Hard to tell exactly what you're trying to do, but you might try putting a socket in the hand bone, spawning the emitter attached to that socket. Since it's attached, it should follow what the socket does, so if the player turns the socket turns, and you don't have to rotate the emitter at all, just simply activate/deactivate it.
The emitter will face forward constantly in relation to the socket, but the socket will rotate with the player because it's attached to skeletal structure.
(You may have to rotate the socket or the emitter to get the initial vector to your liking, a proper forward vector if you will)
answered May 26 '16 at 03:55 PM
Follow this question
Once you sign in you will be able to subscribe for any updates here