Command Palette

Search for a command to run...

Назад к скиллам
скилл № 68541

roblox-physics

Use when fixing or reviewing Roblox physics: ragdolls, corpses, knockback, network ownership, raycasts that miss, debris and contact cost.

БесплатноБез исполняемых скриптов
TabooHarmonyот TabooHarmony★ 230 звёзд на GitHub

Установить roblox-physics в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Об этом скилле

Roblox Physics

When to Load

Fixing or reviewing ragdolls, corpses, knockback, ownership, hit queries or physics cost. Server Authority: roblox-networking.

"Field-measured" = measured in one of the owner's projects; verify on your content.

Traps (symptom -> cause -> fix)

  • Code finds no Motor6D -> new R15 rigs (2026) have none: 15 AnimationConstraint + 14 enabled BallSocketConstraint. Never write C0/C1 (§1).
  • Ragdoll shakes -> sockets added on top of the built-in ones. Remove them.
  • Ragdoll stays stiff -> IsKinematic = false alone holds the pose; also set AngularStrength = 0 (or Enabled = false) (Studio 2026-11).
  • Pelvis twitches while limp -> the animated Root joint (HRP→LowerTorso) still drives it. Weld HRP-LowerTorso during ragdoll; restore Root on get-up (§2).
  • Corpse limbs sink -> R15 limbs default CanCollide = false and a live Humanoid keeps forcing it. Limbs CanCollide = true, destroy Humanoid and HRP.
  • Kill knockback tiny -> pushed on the death frame. Apply one physics step later, once, on AssemblyRootPart.
  • Bot deaths fling randomly -> bots are server-owned, players client-owned. Check owner, impulse once on root scaled by AssemblyMass, Humanoid state (§2).
  • Players can't push bodies -> clients can't push server-owned parts. Hitter ownership: ~67 ms vs ~200 ms reaction at 120 ms ping; mid-flight handoff is a small pop (§3).
  • Impulse works once / body doesn't move -> apply on the owner, on AssemblyRootPart (a massless welded part desynced), reset leftover velocity (§3).
  • Shots pass through / melee hits invisible boxes -> CanQuery = false works only when CanCollide = false (docs); rays hit CanCollide = false parts unless RespectCanCollide = true. Then filters, CollisionGroup (§4).
  • Placement refused, "tool does nothing" -> Include list misses the real colliders; server never told the client why (§4).
  • Physics ms high -> contacts: a free part holds far more than it touches; Motor6D/bones don't help. Read Stats.ContactsCount delta, collision groups, anchor at rest, BulkMoveTo (§5).
  • Head won't fragment -> GeometryService:FragmentAsync fails on the stock head mesh. 240 fragments froze ~221 ms, ~60 was fine (field-measured).

Limits (field-measured)

Case Cost
Free part in a dense map of small parts ~300 contacts while touching ~2
~100 free debris pieces 30k contacts, 30-45 ms physics
Collision group: debris ignores tiny map parts 239 -> 41 contacts per piece
1,750-part fallen piece at rest, unanchored vs anchored 17 ms vs 6 ms per step
5.5k physics parts vs 5k anchored via BulkMoveTo 60-70 ms vs 6-11 ms
Waking a large settled body for an unrelated hit ~41 ms physics for seconds
Client simulation range parts ~1,400 studs away didn't simulate

1. Character rigs: AnimationConstraint (2026-11)

With StarterPlayer.AvatarJointUpgrade on (default for new experiences; a Studio setting, not script-writable), R15 characters spawn with AnimationConstraint joints. Default R15 in Studio, November 2026: 15 AnimationConstraint, 14 enabled BallSocketConstraint, 4 RigidConstraint, no Motor6D.

Motor6D habit On an AnimationConstraint rig
FindFirstChildOfClass("Motor6D"), IsA("Motor6D") Finds nothing. Accept AnimationConstraint, fall back to Motor6D for legacy/custom rigs
Write C0/C1/Part0/Part1 Read-only aliases of the attachments. Don't edit RigAttachment.CFrame either (breaks retargeting)
neck.C0 = base * rot per frame joint.Transform = rot * joint.Transform in RunService.PreSimulation (the Animator overwrites Transform before that); skip frames where Animator.EvaluationThrottled

IsKinematic = false makes a joint chase Transform with force: LinearStrength/AngularStrength are normalized frequency (f / 60; 0 = no force; well above 1 goes unstable), *Damping 1 = critical.

2. Ragdolls, corpses, death launches

Limp test (Studio 2026-11, default R15, mean joint deviation after 4 s): IsKinematic = true 0.0°; IsKinematic = false with defaults (AngularStrength = 1) 2.1°, holds pose; plus AngularStrength = 0 44.5°, limp; Enabled = false 44.3°. Hand-built sockets doubled 14 to 28 and shook: list the rig's constraints by class first.

  • Recover by restoring recorded values (don't rebuild joints), then GettingUp, then return ownership. Stacked stun/ragdoll effects need one recovery owner, or the second snapshots modified joints as "original".

Pelvis twitch (field-measured): the cause is the Root joint, not the waist joint or torso collisions. Disable Root and hold HRP to LowerTorso with a WeldConstraint for the ragdoll; on get-up destroy the weld and re-enable Root.

Corpses:

  • Keep any root collision box no wider than the body.
  • Settle: anchor once every part moved under ~0.25 studs and 5° for 0.3 s, never in the air; wake on a hit; cap the count, fad
Полный SKILL.md на GitHub

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

FAQ

Что делает скилл roblox-physics?

Use when fixing or reviewing Roblox physics: ragdolls, corpses, knockback, network ownership, raycasts that miss, debris and contact cost.

Как установить скилл roblox-physics?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл roblox-physics запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

Похожие скиллы

Сравнить roblox-physics с