Rapier-keretrendszer-integráció
Meghatározza, hogyan kapcsolódik ugyanahhoz a játékobjektumhoz a Rapier és a megjelenítő keretrendszer. Összehangolja a tengelyeket, léptéket és életciklust, egyértelmű szimulációs felelőssel.
rapier-framework-bridge
Nézd meg, miben segítMikor hasznos?
Akkor használd, ha a becsomagoló kezeli a fizikát, és a kézi integráció dupla világot vagy versengő transzformációt kockáztat.
Miben segít neked?
- Ellenőrzi a becsomagoló kompatibilitását és szinkronizációs pontjait.
- Egy gazdát jelöl ki testlétrehozásra, léptetésre és eltávolításra.
- Kifejezett határon vált tengelyt, méretet és kvaterniót.
Például ezt kérheted
A meglévő keretrendszer-kapcsolaton át kösd Rapierhez a járműmodellt. Próbálj szülő által skálázott modellt, újralétrehozást és eltávolítást. Adj koordináta- és felelősségtérképet: a kerekek és alváz helyesen kövessenek, dupla szimulációlépés vagy megmaradó ütközőalakzat nélkül.
Részletes dokumentáció
Itt a skill eredeti útmutatóját, példáit és ellenőrzési szempontjait olvashatod az eredeti nyelven.
Összecsukás
Rapier — framework bridge
Use when integrating Rapier with Three.js, Bevy or another render/game framework.
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
Inspect the wrapper compatibility matrix and synchronization hooks. Define which side creates, steps, updates and removes each body. Convert axes, scale and quaternion conventions explicitly. Place interpolation on presentation and apply authoritative corrections at the simulation boundary.
Deliver
A framework bridge with verified ownership and version requirements. Keep the change in the existing project structure; separate actual observations from the proposed acceptance scenario below.
Failure to prevent
Do not initialize a second physics world beneath a wrapper or apply the same transform update from both renderer and solver.
Acceptance scenario
Spawn and remove an instanced render object, pause the framework and reset the physics world while checking both representations. 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
