Lock actor rotation to up vector

I figured it out, I had to call

Capsule->GetBodyInstance()->CreateDOFLock();

after updating the plane’s normal.