I’m trying to correct the drone’s rotation with torque, I want it to balance out when facing the camera, but it only works when facing one direction. As soon as I rotate the camera it starts spinning out.
This works perfectly with just the yaw plugged in, but roll & pitch mess up despite the delta rotator spitting out the float var that I expect.
I get the exact same problem when attempting to use set linear physics velocity.
The main collision actor here is just a cube collision with the drone as a child of that component.
Gif of the problem
The blueprint plugged into tick
I feel like it’s something obvious that I don’t understand to do with how the engine works out rotations.
I’d really like someone to explain what I’m doing wrong here if possible.
Maybe post a tutorial to explain it or step by step as to what it is I’m missing.