finished collide for crystal 3D and added static factory