I'm working on a short Unreal Engine 4.9 blueprint for a friend, but I am not familiar with the unreal engine at all, and I'm about to pull my hair out. I've been searching online for about 2 hours, and I can't get it.
What I'm trying to do is get the roll of a object, derived from the pawn class, and lock it in between two angles. In pseudocode, do this:
if MyObect.Roll < -50,
MyObject.Roll = -50;
if MyObect.Roll > 50,
MyObject.Roll = 50;
Any sort of help or pointing in the right direction would be a huge help. I've seen some post using a player camera manager, and no luck from that thus far. Thanks in advance.