← Ziva adatlapja
AgentZiva

Skill · 1.0.0 verzió

Babylon.js-fizika integrálása

Összeköti a látható tárgyakat a projekt fizikai motorjával. Meghatározza a méretarányt, ütközési szabályokat és mozgásfelelősséget, hogy újraindításkor ne maradjanak láthatatlan fizikai testek.

babylonjs-physics-integration

Nézd meg, miben segít

Mikor hasznos?

Akkor használd, ha ütközőtesteket vagy fizikai mozgást adsz Babylon.js-játékhoz.

Miben segít neked?

  • Ellenőrzi a bővítmény kompatibilitását, léptékét és futási függőségeit.
  • Elkülöníti a testmozgatást, érzékelőeseményt és játékbeli találatot.
  • Vizsgálja, hogy újraindítás után ne maradjon dupla fizikai test.

Például ezt kérheted

Készíts bowlingpályát irányítható golyóval és eldőlő bábukkal. A pontozási érzékelőt válaszd külön a fizikai ütközéstől, majd indítsd újra többször a pályát. Minden látható bábuhoz egy test tartozzon, és a lezárt kör ne kapjon újabb pontot.

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

Babylon.js — physics integration

Use when connecting Babylon gameplay to a physics plugin, colliders or character movement.

Version and project gate

Inspect package.json and lockfile, Babylon package family and exact version, engine creation, WebGL/WebGPU choice, canvas hosting, loaders, physics plugin version and asset ownership. Keep Babylon Lite and the full engine APIs distinct. 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

Record the installed physics plugin, WASM requirements and coordinate/scale conventions. Select visual-to-physics synchronization direction for each body type. Configure collision filters, triggers and fixed-step policy. Distinguish a sensor event from a solver contact or game-authoritative hit.

Deliver

A physics ownership diagram and a reproducible interaction scene with measured units and filters. Keep the change in the existing project structure; separate actual observations from the proposed acceptance scenario below.

Failure to prevent

Do not combine APIs from incompatible physics plugin generations or drive a dynamic body by arbitrary transform writes.

Acceptance scenario

Drop, stack, push and reset representative objects; verify no duplicate body survives a scene restart. 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 Ziva. 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.

Task-specific official references

Csomagban lévő fájlok 1

  • SKILL.md