Skip to content

Add NewtonMeshCollisionAPI with maxHullVertices #8

@andrewkaufman

Description

@andrewkaufman

Is this a new feature, an improvement, or a change to existing functionality?

New Feature

Feature Description

NewtonMeshCollisionAPI is an extension to UsdPhysicsMeshCollisionAPI to configure Newton extensions to collision mesh approximation.

The only attribute (for now) is newton:maxHullVertices, which limits the total vertex (point) count when using convexHull approximation for the mesh. It is a single int values defautling to 64.

In Netwon this is Mesh.maxhullvert. The PhysX equivalent is physxConvexHullCollision:hullVertexLimit and the mujoco equivalent is mjc:maxhullvert

Additional context or alternatives

There was some discussion of placing this on NewtonCollisionAPI to avoid the extra API schema, but we decided to add NewtonMeshCollisionAPI for now to align with UsdPhysics, keeping approximation as a separate mesh-specific concept from the more general collision settings.

Code of Conduct

  • I agree to follow newton-usd-schemas Code of Conduct
  • I have searched the open issues and have found no duplicates

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    Projects

    Status

    Ready

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions