[JBULLET] Force rigid body's base rotation while also forcing it to never rotate

Kind of specific, I know, but I couldn’t find anything about this on google when searching in regards to bullet (since jbullet searches yield no results)

In my lwjgl3 rendering engine, I wanted to make a simple physics based player, so I used the capsule shape. My engine, however, works with z-up instead of y-up, and jbullet’s capsule is y-up.

I am using:

capsule.setSleepingThresholds( 0.0f, 0.0f );
capsule.setAngularFactor( 0.0f );

to prevent the capsule from ever rotating. Would anyone happen to know how to rotate it 90 degrees on the x -axis to make it zup?