Just testing rotation on an object (wheel) that has its pivot point at the origin but the vertices moved. Used meshHelper.recenter to move the pivot point, had to tweak recenter so that the wheel stayed in the same position and didnt move back to the origin.
eg var pos:Vector3D = new Vector3D((mesh.minX + mesh.maxX) * .5, (mesh.minY + mesh.maxY) * .5, (mesh.minZ + mesh.maxZ) * .5); applyPosition(mesh, (mesh.minX + mesh.maxX) * .5, (mesh.minY + mesh.maxY) * .5, (mesh.minZ + mesh.maxZ) * .5); mesh.position = pos; But, the wheel disapears every so often. see http://www.shrewballooba.co.uk/bs/ I think its disapering when it would have been offscreen if I hadnt used recenter (the wheel would have rotated around origin). If I move the cam way back it no longer disapears. So um eh?
