Rapier-ütközéslekérdezések
Külön játékjelentést ad az ütközésnek, érzékelőnek és sugárlekérdezésnek. Stabil objektumhoz és szűrőkhöz rendeli a találatot, így egy felvevőzóna nem válik fallá vagy ismétlődő jutalommá.
rapier-collision-queries
Nézd meg, miben segítMikor hasznos?
Akkor használd, ha találat hiányzik, érzékelőesemény ismétlődik vagy szűrő váratlan objektumkölcsönhatást okoz.
Miben segít neked?
- Elkülöníti a fizikai ütközési választ az érzékelőértesítéstől.
- Meghatározza a csoportot, szűrőt és szükséges eseményengedélyezést.
- Eltávolítás után is stabil játékeseménnyé alakítja a találatot.
Például ezt kérheted
A lopakodós játékban az ajtóriasztó érzékelő, a látás sugárlekérdezés legyen. A játékos átmehessen a riasztón, a terep takarja a látást, és egy őr eltávolítása után a találatok ne mutassanak nem létező karakterre. A belépési riasztás a meghatározott szabály szerint jelezzen.
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 — collision queries
Use when implementing Rapier collision groups, sensors, contact events, raycasts or shape casts.
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
Define group/filter semantics and which interaction produces solver response versus notification. Read event activation requirements for the binding. Translate hit data into stable game events after considering removal and multiple colliders. Set query filters from gameplay intent.
Deliver
A collision/filter table and query/event integration with explicit event ownership. Keep the change in the existing project structure; separate actual observations from the proposed acceptance scenario below.
Failure to prevent
A sensor overlap is not a physical contact impulse; missing event flags can look like broken collision detection.
Acceptance scenario
Exercise self-filtering, sensor entry/exit, a removed collider and a fast-moving hit using the appropriate query or CCD approach. 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
