Child Turret Rotation Problem
Hello. I am creating turrets that are child actor components of a large ship, and I rotate the yaw of the body of the turrets to face the target (the barrels then do pitch).
The problem is, if the parent ship rolls or pitches, the turret will not follow because I am setting it's world rotation.
I can not set the pitch and roll world rotation to that of the parents at the same time as I do the yaw, because the yaw changes what the pitch is (IE it'll be rotated differently than the parent so pitch rotates it in different direction than the pitch of the larger ship)
I've tried many ways around this but can't seem to solve the issue.
asked Aug 25 '16 at 01:55 AM in Blueprint Scripting
Here is a download to a project I put together that shows how to setup some turrets on a ship that will face a enemy and shoot a projectile at it.
Follow this question
Once you sign in you will be able to subscribe for any updates here