Sorry for the stupid question. Control rotation of bodies?

I have a simple problem that I can’t seem to fix. Cutting out any specifics, i have a ship that is only moving in the x-z plane. It has a physics node attached to it (better yet, IT is attached tot he physics node), controlling its acceleration, movement, position. all that good stuff. My problem is, I’m trying to bind the rotation of its bounding box, I have tried a few things like getting its rotation and manually insuring that it is zero, but when i do things like that, it stops my object from being movable, which does not make a lot of sense to me. IE:

[java] public void update(float delta) {


Matrix3f zeroMat = new Matrix3f();






anyways, I feel like my problem is trivial, but I appreciate any advice I can be given. Thanks for your time.