protected override void UpdateShape(GameObject root) { Fix64Vec3 s = CalculateSize(); if (s != Fix64Vec3.zero) { Fix64Vec3 center = Fix64Vec3.zero; Fix64Quat rotation = Fix64Quat.identity; if (gameObject != root) { center = _pTransform.localPosition; rotation = _pTransform.localRotation; } Parallel3D.UpdateCube(_shape, _fixture, s.x, s.y, s.z, center, rotation); } }