NewtonMeshCollisionAPI (hull vertex limit fallback)#

Newton hull vertex limit, read for convexHull and convexDecomposition approximations when the matching PhysX hullVertexLimit is absent.

What USD population writes#

Published like any applied API when the Newton schema is registered for population; without the registration its attributes are lost (see the ovphysx Newton schema notes).

Columns#

Raw fallback is the USD schema value. Producer writes is what ovstage population puts in the column for a USD stage. Parser default applies on the consumer when the column is absent, in stage units. diverges means writing the raw fallback literally parses differently from omitting the column (the parser default): USD population may well publish that very value for an unauthored attribute, so the marker is about the column being present, not about its value.

Column

Type

Units

Raw fallback

Producer writes

Parser default

If absent

newton:maxHullVertices

int32

none

-1

resolved USD value (authored, else raw fallback)

no override

No override: the PhysX hull vertex limit, else the cooking default, stands.

Notes#

  • The parser reads these columns without checking that NewtonMeshCollisionAPI is listed in usd-schemas. The compiled cache reads them but does not support the API: a prim that lists NewtonMeshCollisionAPI makes the cache bypass.

  • Newton’s schema makes NewtonCollisionAPI and PhysicsMeshCollisionAPI built-ins of this API, and USD population lists built-ins among a prim’s applied schemas. The builder writes only what the caller applies, so it requires them on the same prim instead of writing a prim the walker would not recognize.