Hello :),
Im working on the yaw/pitch rotation of a small submarine. In attachment you can see my actual blueprint that I put together after some hours of tutorial watching and testing.
The pitch movement has a clamp because I don’t want that you can pitch overhead. When I play with this BP the pitch is working as intended. But the yaw isnt working at all. When I remove everything between GetWorldRotation and SetRelativeRotation then also the yaw is working.
So first question is: How should the BP look like so that pitch and yaw work.
Removing the part with clamp leads to a second smaller problem. With my submarine I dont want to roll. The relative roll axis should always stay straight. When I alternately pitch and yaw the submarine it tilt to one side. For yawing I need something to tell the submarine to rotate around the global Z-axis what is always vertical. I was playing around with GetWorldRotation but it doesn’t work. How do I get that?
Ok, so I’m also quiet new to UE4 and Blueprint stuff.
What I have to use to get the body rotation? For me GetWorldRotation seems right. I took the Yaw value and plugged it in the Make Rotator. But I still can only pitch. Yaw isn’t working.