I’m in unreal 5.3 trying to attach a blueprint to a camera. I need the blueprint to only follow the transforms of the camera, not the rotation.
I have the Blueprint attached to the camera in the sequencer, and I’ve attempted to set the blueprint rotation to world in the details/transform panel but its not working 100%, and I cant find any other methods. Even within the attach properties setting the rotation to world doesn’t lock it.
Okay, so the reason this issue isn’t as simple as you feel it should be is why my response isn’t going to be as simple as you expect it should be.
I need further clarification of what you’re trying to do.
Let’s say your Blueprint is BP_Supercats. You have a flying/moving camera that BP_Supercats is attached to, that moves along with the camera. However, the camera may roll, yaw, or pitch along its axis, but you do not want the Supercats to?
However, the method that you used to attach the two is through the Sequencer using the “Attach” function here:
If so, there’s a few ways you can achieve what you want.
One way is like this, where you grab the CAMERA from the LEVEL SEQUENCE and attach your BP_Supercats to it in BP_Supercat’s Blueprint, making sure to keep the “Rotation Rule” as “Relative”, and the “Location Rule” as “Snap To Target”.
Yeah sorry I should have been clearer about my setup!!
The BP I’m using is the Underwater BP V3. For my uses, the light shaft/god rays light the scene and make it nice and murky, but are only working well at a very specific height within the BP;
too high the god rays disappear and the scene becomes very clear
too low the god rays become incredibly large and just fill the entire VP with blur and colour.
My workaround was to lock the BP to the camera, so regardless of position within the scene, the camera would remain in this “goldilocks zone”.
I’m really not familiar with BPs at all, so the above looks very much like what I need, I’ll test this first thing and get back to you!
One question I have is, as this will be used in multiple sequences, does the BP just grab any camera within the current level? Even if that camera is a spawnable?
So I’ve replicated this in the event graph but cannot get any results. Are there any extra steps that I require? I.e. does it only work when rendering, do I need to also attach it in sequencer, etc…
I was able to achieve this result but using actors and using the actor’s rotation control set to world… I assume either a bug with the blueprint or other… But this worked. Thank you so much!!