PlayCanvas-anyagok és fizika
Külön kezeli a tárgy megjelenését, ütközését és mozgását. Ellenőrzi az anyagot, fizika készenlétét és a mozgatás felelősét, hogy a látványfrissítés ne küzdjön a szimulációval.
playcanvas-materials-physics
Nézd meg, miben segítMikor hasznos?
Akkor használd, ha a látvány és fizikai viselkedés eltér.
Miben segít neked?
- Ellenőrzi a telepített megjelenítési hátteret és fizikaindulást.
- Elválasztja a geometriaméretet, fényt és átlátszóságot az ütközéstől.
- Meghatározza a trigger szűrőjét és fizikai transzformáció gazdáját.
Például ezt kérheted
Az akadálypályához készíts üvegfalat és felvehető karikát. Az üveg legyen átlátszó, de állítsa meg a mozgást; a karika jelezzen felvételt, de ne akadályozzon. Próbáld a fizika betöltése előtt és újraindítás után, egyező látványmérettel és ütközőtesttel.
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
PlayCanvas — materials physics
Use when changing PlayCanvas material/render behavior or integrating collision and rigid-body components.
Version and project gate
Inspect Engine version, Engine-only versus hosted Editor workflow, ESM versus classic scripts, build/export process, asset IDs and tags, render backend, script attributes and target browser requirements. Do not assume a paid Editor service is required for Engine-only work. 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
Read the selected backend, material API and physics module readiness. Define render/physics transform ownership and geometry scale. Resolve lighting, transparency, collision filters and trigger semantics independently. Keep backend-specific shader examples aligned with the installed engine.
Deliver
A material/physics integration note and minimal representative scene. Keep the change in the existing project structure; separate actual observations from the proposed acceptance scenario below.
Failure to prevent
A visual model is not automatically a suitable collision mesh; physics module startup is asynchronous in relevant builds.
Acceptance scenario
Load the scene before and after physics readiness, reset a body and compare the asset under the intended light and backend. 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 Cyra. 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
