asPxVec3#

Fully qualified name: isaacsim::core::includes::conversions::asPxVec3

inline ::physx::PxVec3 isaacsim::core::includes::conversions::asPxVec3(
const usdrt::GfVec3d &v,
)#

Converts usdrt::GfVec3d into PhysX vector.

Performs component-wise conversion with precision demotion:

  • x, y, z components are converted from double to float

Warning

Potential precision loss during double to float conversion

Parameters:

v[in] Input vector in USD runtime format (double precision)

Returns:

PxVec3 Equivalent vector in PhysX format (single precision)