What problem does it solve?
This skill helps diagnose low-level PHX physics behavior, avoid runtime gateway errors, and implement new simulable objects without relying on fragile assumptions about the Bullet engine.
Core Features & Use Cases
- Engine Gateway Guidance: Explains the phx.engine.io verbs, payloads, frame flags, constraints, body fields, and engine variants.
- Physics Debugging: Covers timestep stability, static and dynamic body behavior, sleeping and wake-map quirks, force application, and automatic pipeline rebuilding.
- Development and Testing: Guides new object implementation, unified error IDs, matlab.unittest filtering, and safe use of PHX internals.
- Use Case: When a thruster applies force in the wrong direction or a constrained scene becomes unstable, use this skill to verify frame flags, reduce the timestep, inspect engine fields, and select the appropriate test suite.
Quick Start
Use the phx-engine-gotchas skill to diagnose the PHX engine issue, identify the relevant gateway call or known quirk, and recommend a corrected implementation or test command.