Unity-karakter játékérzete
Együtt hangolja a Unity-mozgást, ugrást és kamerát a kiszámítható irányításért. Összehangolja az animációt és fizikát, figyelve az inputidőzítésre, lejtőkre és mozgó platformokra.
unity-character-game-feel
Ezt a skillt használó ügynökök
Mikor hasznos?
Akkor használd, ha a karakter nehézkesen reagál, az ugrást nehéz eltalálni, vagy a kamera zavarja a mozgást.
Miben segít neked?
- Rövid, meghatározott ideig megőrzi a földet érés előtt lenyomott ugrásgombot, így a karakter érkezéskor még reagálhat rá.
- Együtt hangolja a gyorsulást, megállást, fordulást és ugrásmagasságot; az animáció és a fizika nem mozgathatja egymással versengve a karaktert.
- Lejtőn, mozgó platformon és eltérő képsebességnél is vizsgálja az irányítást, a kamera követését és a zavaró rázkódást.
Például ezt kérheted
Hangolj egy Unity-platformert, amely gyakran elveszíti a talajfogás előtti ugrásnyomást. Adj rövid, korlátozott inputpuffert, majd különböző képkockasebességeken vesd össze a fékutat, ugrásmagasságot és kamerát. Próbáld lejtőn és mozgó platformon; a megengedőbb kezelés ne adjon véletlen extra ugrást a levegőben.
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
Character Control and Game Feel
Establish the control loop
Identify the current input actions and update mode, movement owner (Rigidbody, CharacterController, custom motor or animation), camera update, collision geometry and target devices. Record the desired response and a baseline play scenario. Preserve the existing stack unless replacement is part of the task.
- Sample input and consume it in the appropriate simulation loop. Buffer one-shot actions deliberately so an input edge is neither missed nor consumed twice. Handle action-map changes, focus loss, rebinding, gamepad dead zones and device switching where relevant.
- Choose exactly one authority for position and rotation. Coordinate root motion, physics and navigation through that owner; do not let all of them write the transform independently.
- Tune acceleration/deceleration, top speed, turn response, air control, gravity and jump height as a coherent set with declared units. Apply time steps consistently with the chosen integration method.
- Add coyote time, jump buffering, variable jump height or aim assistance only where the intended feel calls for them. Name the timing windows and define how they expire across landing, pause, death and respawn.
- Check grounded detection on slopes, steps, moving platforms and ledges. Distinguish the actual contact/physics state from animation parameters and account for platform motion.
- Separate camera smoothing from gameplay authority. Check low/high frame rates, interpolation, camera obstruction and input latency. Respect motion-reduction preferences when adding shake, flashes or zoom effects.
- Expose a small set of meaningful designer controls. Tune one variable at a time against the same scenario; avoid arbitrary presets presented as universally correct values.
Verify through play
Check keyboard/mouse and controller when supported, stable versus varying frame rates, slopes/edges, collisions, pause, rapid input and repeated respawn. Capture the tuning values and observations. If only source checks ran, say that responsiveness and subjective feel still require playtesting.
References: installed Input System documentation, project-version physics API docs and Steve Swink's Principles of Virtual Sensation. Use the latter as design principles, not as evidence for an unmeasured implementation.
Csomagban lévő fájlok 1
SKILL.md
