roblox-physics · tabooharmony — скилл для Claude Code: что делает и как установить
Помогает настраивать физику в Roblox: связки констрейнтов, рэгдоллы, транспорт, сетевое владение и поведение снарядов при багах симуляции.
npx skills add TabooHarmony/roblox-brain --skill roblox-physics -a claude-codeЧто делает roblox-physics
Скилл систематизирует работу с физическим движком Roblox. Внутри собраны правила для механических связок вроде HingeConstraint и PrismaticConstraint, силовых объектов LinearVelocity или AlignPosition, а также пружин и тросов. Для каждого типа задаётся строгий паттерн сборки через пары Attachment0 и Attachment1.
Отдельный блок посвящён распределению симуляции между клиентом и сервером. В классических проектах автоматическая смена владельца отдаёт незакреплённые сборки ближайшему игроку, поэтому критичные объекты фиксируют вызовом SetNetworkOwner(nil). При включении Workspace.AuthorityMode = Server архитектура меняется: сервер сохраняет авторитет, а управление отзывается без задержек за счёт встроенного предсказания.
Физика ломается на мелочах. Констрейнты молча перестают работать, если детали закреплены через Anchored или потерян один из аттачментов. Избыток связок вызывает рассинхрон и тряску, которую приходится гасить настройкой массы в CustomPhysicalProperties.
Какие задачи решает
- настроить подвеску и рулевое управление машины через констрейнты
- собрать рэгдолл персонажа на базе
BallSocketConstraint - зафиксировать сетевое владение сборки через
SetNetworkOwner - устранить дрожание деталей при избытке физических ограничений
- перевести расчёт попаданий снарядов с события
Touchedна рейкасты
Примеры запросов агенту
- Собери четырёхколёсную подвеску для машины через
SpringConstraintиHingeConstraint. - Почему детали дрожат после соединения через
AlignPosition? Проверь массы и ограничения. - Настрой рэгдолл при падении персонажа и верни исходное состояние суставов после подъёма.
Как установить roblox-physics
1Через Skills CLI (Vercel)
npx skills add TabooHarmony/roblox-brain --skill roblox-physics -a claude-code2Вручную: положить файлы
~/.claude/skills/roblox-physics/SKILL.mdПапка скилла целиком; для одного проекта — .claude/skills/roblox-physics/
1Через Skills CLI (Vercel)
npx skills add TabooHarmony/roblox-brain --skill roblox-physics -a codex2Вручную: положить файлы
.agents/skills/roblox-physics/SKILL.mdДля всех проектов — ~/.agents/skills/
1Через Skills CLI (Vercel)
npx skills add TabooHarmony/roblox-brain --skill roblox-physics -a cursor2Вручную: положить файлы
.cursor/skills/roblox-physics/SKILL.mdCursor читает и .agents/skills/, и .claude/skills/
1GitHub CLI
gh skill install TabooHarmony/roblox-brain roblox-physics2Вручную: положить файлы
.github/skills/roblox-physics/SKILL.md1Через Skills CLI (Vercel)
npx skills add TabooHarmony/roblox-brain --skill roblox-physics -a gemini-cli2Командой платформы
gemini skills install https://github.com/TabooHarmony/roblox-brain --path skills/gameplay/roblox-physicsВручную: положить файлы
.devin/skills/roblox-physics/SKILL.mdСтарый путь .windsurf/skills/ тоже читается
Через Skills CLI (Vercel)
npx skills add TabooHarmony/roblox-brain --skill roblox-physics -a opencodeClaude.ai
Упакуйте папку в zip и загрузите в Settings → Capabilities → Skills
По шагам, с командами для каждой платформы: Как установить скилл в Claude Code: пять способов
Вопросы о roblox-physics
Как установить roblox-physics в Claude Code?
Выполните команду npx skills add TabooHarmony/roblox-brain --skill roblox-physics -a claude-code в терминале или сохраните файл по пути ~/.claude/skills/roblox-physics/SKILL.md.
Что делает скилл roblox-physics?
Он задаёт правила сборки физики в Roblox: выбор типов констрейнтов, расчёт свойств материалов, настройку подвески и управление симуляцией на сервере или клиенте.
Почему констрейнты не работают после добавления?
Связки игнорируются движком, если соединяемые детали зафиксированы свойством Anchored. Также констрейнт молча ломается при отсутствии хотя бы одного из свойств: Attachment0 или Attachment1.
Исходный текст
SKILL.md · MIT
--- name: roblox-physics description: "Use when building or fixing Roblox physics: vehicles, ragdolls, projectiles, elevators, constraints, forces, network ownership." when_to_use: "Also when parts fling, jitter, fall through floors or desync, and when tuning projectile or knockback feel." last_reviewed: 2026-10-14 sources: - https://devforum.roblox.com/t/cframe-operations-for-the-rest-of-us/3546477 - https://raw.githubusercontent.com/Roblox/creator-docs/main/content/en-us/physics/mechanical-constraints.md - original - https://raw.githubusercontent.com/Roblox/creator-docs/main/content/en-us/reference/engine/classes/Humanoid.yaml - https://raw.githubusercontent.com/Roblox/creator-docs/main/content/en-us/reference/engine/classes/WorldRoot.yaml --- # Roblox Physics ## When to Load Use this skill when building physics-driven gameplay: vehicles, ragdolls, projectiles, mechanical contraptions, elevators, swinging platforms, or anything using constraints and forces. ## Quick Reference ### Constraint Types **Mechanical:** `HingeConstraint`, `PrismaticConstraint`, `CylindricalConstraint`, `BallSocketConstraint`, `UniversalConstraint`, `WeldConstraint`/`RigidConstraint` **Motion:** `AlignPosition`, `AlignOrientation`, `LinearVelocity`, `AngularVelocity`, `VectorForce`, `Torque` **Spring/Rope:** `SpringConstraint`, `RopeConstraint`, `RodConstraint` ### Attachment Pattern Constraints connect via `Attachment` objects. Create one on each part, set `Attachment0`/`Attachment1`, and parent the constraint to part0. Actuator types include `None`, `Motor`, and `Servo`. ### Vehicles Vehicles: use motorized `HingeConstraint` wheels, `SpringConstraint` suspension, servo steering, and `CustomPhysicalProperties` for friction tuning. ### Ragdoll Track the joints and instances each ragdoll changes; recover only owned state, and coordinate overlapping effects before restoring movement. `BallSocketConstraint` recipe: full.md. ### Authority and Network Ownership Classic projects: automatic ownership can give an unanchored assembly to a nearby player. `SetNetworkOwner(nil)` keeps it server-owned; `SetNetworkOwner(player)` gives a player simulation ownership. Treat player-owned physics as untrusted and validate gameplay outcomes. Server Authority: set `Workspace.AuthorityMode = Server` with its required settings. Core objects can remain server-owned while prediction keeps controls responsive, so the classic secure-but-laggy trade-off does not apply. `SetNetworkOwner()` is not a substitute. **Rule:** choose the model first. Keep NPC and gameplay-critical objects authoritative; give client ownership to non-critical physics only when the resulting behavior is acceptable and tested. ### Common Gotchas - Constraints do nothing on Anchored parts - Both Attachment0 AND Attachment1 required (missing one = silent fail) - Over-constraining = jitter. Tune mass with `CustomPhysicalProperties` - Use Raycast for hitscan, `Touched` only for slow physics projectiles - Always set a lifetime on physics projectiles See `references/full.md` for recipes, API details, and checks.
© TabooHarmony · MIT · TabooHarmony/roblox-brain
Похожие скиллы
Всё по теме «Геймдев и 3D: Unity, Unreal, Godot, Blender» →Сначала — roblox-physics от других авторов.