add missing absolute value for box collider extent
@@ -32,7 +32,7 @@ public BulletBoxShape(Vector3f halfExtents) {
@Override
public CollisionShape rotate(Quaternionf rot) {
Vector3f halfExtentsWithMargin = new Vector3f(boxShape.getHalfExtentsWithMargin());
- return new BulletBoxShape(halfExtentsWithMargin.rotate(rot));
+ return new BulletBoxShape(halfExtentsWithMargin.rotate(rot).absolute());
}
@Override
