Get rotation from actor to other actor
I'm sure this is going to be simple for most of you but my rotation math isn't quite where it should be yet. I have a AI-controlled UFO that is going to be shooting lasers (actor with projectile component) and I'd like it to aim at the player. I don't need to rotate the AI UFO - I just want lasers to spawn with the correct rotation.
I'm currently determining visibility with a multi line trace that draws the perfect trajectory of my bullet but I can't seem to extract the rotation for my projectile from the hit result.
Thanks so much for the help in advance!!
asked May 21 '15 at 10:36 PM in Blueprint Scripting
I may have jumped the gun the gun. I didn't know there was the magical node: "Find Look at Rotation". Here is my fire lasers function that automatically shoots at player :)
answered May 21 '15 at 11:01 PM
Follow this question
Once you sign in you will be able to subscribe for any updates here