tccb.normalInWorldSpace = true;
Vector3f boxMinLocal = Stack.alloc(Vector3f.class);
Vector3f boxMaxLocal = Stack.alloc(Vector3f.class);
castShape.getAabb(rotationXform, boxMinLocal, boxMaxLocal);
triangleMesh.performConvexcast(tccb, convexFromLocal, convexToLocal, boxMinLocal, boxMaxLocal);
}
else {
ConcaveShape triangleMesh = (ConcaveShape)collisionShape;
Transform worldTocollisionObject = Stack.alloc(Transform.class);
worldTocollisionObject.inverse(colObjWorldTransform);