if (cpd.appliedImpulse > 0) {
if (lat_rel_vel > BulletGlobals.FLT_EPSILON) {
lat_vel.scale(1f / lat_rel_vel);
Vector3f temp1 = Stack.alloc(Vector3f.class);
temp1.cross(rel_pos1, lat_vel);
body1.getInvInertiaTensorWorld(Stack.alloc(Matrix3f.class)).transform(temp1);
Vector3f temp2 = Stack.alloc(Vector3f.class);
temp2.cross(rel_pos2, lat_vel);
body2.getInvInertiaTensorWorld(Stack.alloc(Matrix3f.class)).transform(temp2);