Reflected cubes parse with negative collision half extents
Specula found this at current dev commit
fc590b38e24770408e31b56442d31b8029729ee7.
_ParseCubeShapeDesc() copies GfTransform::GetScale() directly into cube
halfExtents. Matrix factorization assigns the determinant sign to all scale
components, so a transform with an odd number of negative axes produces a
fully negative size vector.
Current sequence
T0: author a size-2 collision cube with scale (-2, 3, 4)
T1: transform factorization returns scale (-2, -3, -4)
T2: cube parsing copies the signed scale and multiplies by size / 2
T3: physics parsing returns halfExtents (-2, -3, -4)Proposed sequence
T0: author the same reflected collision cube
T1: transform factorization returns the decomposed scale
T2: cube parsing takes component-wise absolute scale for dimensions
T3: physics parsing returns halfExtents (2, 3, 4)The official OpenUSD 26.3 runtime reproduces the negative extents through
LoadUsdPhysicsFromRange. A current-source checker confirms that dev still
copies signed scale, while nearby primitive parsers normalize dimensions. The
current checkout was not built, and the witness uses a static cube directly
under the pseudo-root.
Apply component-wise absolute value when forming cube extents and add one-axis and three-axis reflected-scale regressions. Preserve signed mesh-scale behavior separately.
@AlesBorovicka was detected as the most likely owner from current-source
blame. Please feel free to assign this to someone else if another owner is
closer to the code.
Source: PixarAnimationStudios/OpenUSD