← Vector adatlapja
AgentVector

Skill · 1.0.0 verzió

Rapier-időlépés és interpoláció

Függetleníti a fizika idejét a kijelző frissítésétől. Korlátozott, fix lépésekben szimulál, és csak a megjelenített helyzetet simítja, szünet vagy lassú képkocka után is.

rapier-timestep-interpolation

Nézd meg, miben segít

Mikor hasznos?

Akkor használd, ha rendereléstől függ a fizikai sebesség vagy böngészőfolytatáskor túl sok felzárkózó munka indul.

Miben segít neked?

  • Rögzített szimulációs lépést és korlátozott felzárkózást használ.
  • Elkülöníti a korábbi és aktuális fizikai pózt a megjelenítéstől.
  • Ciklushatáron alkalmazza a bemenetet, meghatározza a szünet kezelését.

Például ezt kérheted

Guríts golyót ugyanazon rámpán másodpercenként 30, 60 és 144 kirajzolt képpel. Több másodperces szünet után folytasd. Azonos fizikai lépéseket hasonlíts össze, korlátozd a pótlólagos munkát, és a látványsimítás sose írjon köztes pozíciót vissza a szimulációba.

Részletes dokumentáció

Itt a skill eredeti útmutatóját, példáit és ellenőrzési szempontjait olvashatod az eredeti nyelven.

Részletek…Összecsukás

Rapier — timestep interpolation

Use when implementing Rapier stepping, pause, catch-up or render interpolation.

Version and project gate

Inspect Rust crate features or JS/WASM package and version, 2D/3D choice, framework wrapper version, units, solver settings, timestep ownership, body/collider handles and render synchronization. Determinism depends on binding, version, initialization and operation order. Never turn a task into an engine upgrade without the user’s intent. Read the version-matching official reference when an API decision depends on it.

Work

Choose a fixed simulation delta in declared units and bound accumulated catch-up. Separate current and previous simulation poses from rendered interpolation. Apply inputs and kinematic targets at the intended tick boundary. Keep browser frame delta from silently becoming the solver timestep.

Deliver

A timing diagram and stable simulation/render bridge with pause/resume behavior. Keep the change in the existing project structure; separate actual observations from the proposed acceptance scenario below.

Failure to prevent

A variable render rate can change outcomes if directly used for stepping; catch-up limits need an explicit time-loss policy.

Acceptance scenario

Compare equivalent input sequences under varied render rates, a long pause and one-step debugging without extra simulation owners. Follow the project’s execution and verification permissions. If execution or a target device is unavailable, provide the reproduction steps and name the remaining uncertainty; do not mark it passed.

Scope and sources

This skill belongs to Vector. Agent selection is restricted by Orqestria’s assigned-agent policy, including forced skill selection; instruction text alone is not an access control. These are original task workflows researched from official documentation, not a copied or endorsed vendor skill.

Csomagban lévő fájlok 1

  • SKILL.md