Skip to content

feat: world capacity for physicsJolt, and disabled self-joints in physicsUsd - #38

Merged
snkmcb merged 1 commit into
mainfrom
claude/real-model-capacity
Nov 1, 2026
Merged

snkmcb merged 1 commit into
mainfrom
claude/real-model-capacity

Conversation

@snkmcb

@snkmcb snkmcb commented Nov 1, 2026

Copy link
Copy Markdown
Member

Real MMD models fail on this package in two ways, found running local models through usd-avatar-runtime's session.

  • Capacity: physicsJolt fixes body pairs and contacts at 1,024, so models with 349 to 571 bodies fail the step. createWorld now takes a WorldCapacity, stated by physicsJolt_WORLD_CAPACITY_VERSION. The defaults are unchanged, so other consumers see no difference.
  • Self-joints: source models contain joints from a body to itself, which the MMD importer will author disabled. physicsUsd rejected these even when disabled, although a disabled joint creates no constraint. It now reads them, and an enabled one still rejects.

Six models that failed on capacity pass on a local Windows build of this branch, with 65,536 pairs and contacts and 128 MiB of temporary memory, which the runtime selects. Prepares 0.1.2; the changelog section stays unreleased until the release is cut.

🤖 Generated with Claude Code

… self-joints

Real MMD models keep hundreds of bodies overlapping and exhaust the fixed 1,024 body pairs. createWorld takes a WorldCapacity, with the defaults unchanged. physicsUsd reads a disabled joint that repeats an endpoint, because it constrains nothing; an enabled one still rejects. Prepares 0.1.2.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant