rbx-anim-procedural
Skill0 starsChanged 3 months agoMITView on GitHub
Endless CFrame-driven life — pickup bobbing, tree sway, pet hop, weapon recoil, breathing idles — phase-offset per instance and run from one registry loop so a field of movers never marches in lockstep. Use when the user says "make it bob", "add idle motion", "add recoil", "make it float/spin/sway/breathe", or when a scene looks frozen, dead, or every coin moves in perfect sync. Do not use for one-shot choreography (doors, chests, spawns) — load rbx-anim-tween — or for anything with Motor6D joints — load rbx-anim-rigs instead.
In this repository253 other files it gives its agents.
- rbx-abtestSkill
- rbx-accessibilitySkill
- rbx-analytics-eventsSkill
- rbx-analytics-funnelsSkill
- rbx-analytics-readingSkill
- rbx-animationSkill
- rbx-anim-cutscenesSkill
- rbx-anim-npcSkill
- rbx-anim-rigsSkill
- rbx-anim-tweenSkill
- rbx-architectureSkill
- rbx-assets-audioSkill
- rbx-assets-id-policySkill
- rbx-assets-sanitizeSkill
- rbx-assetsSkill
- rbx-assets-toolboxSkill
- rbx-assets-webSkill
- rbx-audio-feedback-mapSkill
- rbx-audio-mixingSkill
- rbx-audio-musicSkill
- rbx-audio-sfxSkill
- rbx-audioSkill
- rbx-audio-spatialSkill
- rbx-badges-groupsSkill
- rbx-build-compositionSkill
- rbx-build-detailingSkill
- rbx-build-greyboxSkill
- rbx-buildingSkill
- rbx-build-interiorsSkill
- rbx-build-kitbashSkill
- rbx-build-landscapeSkill
- rbx-build-propsSkill
- rbx-build-scaleSkill
- rbx-build-structuresSkill
- rbx-camera-controllersSkill
- rbx-camera-cutsceneSkill
- rbx-camera-shakeSkill
- rbx-chat-moderationSkill
- rbx-ciSkill
- rbx-combat-abilitiesSkill
- rbx-combat-hitregSkill
- rbx-combat-meleeSkill
- rbx-combat-rangedSkill
- rbx-combatSkill
- rbx-combat-statusSkill
- rbx-complianceSkill
- rbx-comprehendSkill
- rbx-controlsSkill
- rbx-data-crossserverSkill
- rbx-data-profilestoreSkill
- rbx-data-recoverySkill
- rbx-data-schemaSkill
- rbx-data-sessionlockSkill
- rbx-dataSkill
- rbx-design-difficultySkill
- rbx-design-loopSkill
- rbx-design-sheetSkill
- rbx-design-socialSkill
- rbx-economy-currenciesSkill
- rbx-economy-gachaSkill
- The first 60 shown.
The file
We split this skill into the rules it gives an agent
3 rules. About 0 are common, 0 are distinctive, and 3 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈0
Distinctive · estimate
This author's own choices. Worth a look.
3
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 17
Phase offset or lockstep: Every mover samples t + phase where phase derives from the instance ((pos.X * 0.7 + pos.Z * 1.3) % (2 * math.pi) …
- Very specific: line 63
After each execute_luau build chunk read get_console_output.
- Very specific: line 84
Read: preferences.md for motion taste ([stated] "subtler"/"bouncier" notes become amplitude multipliers).
≈ “Common” is an estimate: at least 1 in 5 of the 213,897 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
rbx-anim-procedural
Laws
- Phase offset or lockstep. Every mover samples
t + phasewhere phase derives from the instance ((pos.X * 0.7 + pos.Z * 1.3) % (2 * math.pi)is enough). Twenty coins bobbing in perfect sync is the single loudest procedural-motion AI-tell; the offset costs one addition. - One loop, many movers. One
RenderSteppedconnection per system iterating a registry table — never one connection per coin. Register on spawn, remove on despawn; a mover left in the registry afterDestroy()is a leak that errors every frame. - Clock time, never frame counts. Drive everything from
os.clock()deltas. Accumulating per-frame increments makes motion run at half speed on a 30fps phone and desyncs anything the server also tracks. - Offset from a stored base, never accumulate. Cache
basePoseat registration and writebasePose * offset(t)each frame. Repeatedcf = cf * deltamultiplication drifts — objects creep across the map over a 20-minute session. - Cosmetic and client-side. Procedural motion decorates; it never moves the truth. The
pickup's server hitbox sits at
basePose; recoil never displaces the server's weapon; collection, hits, and rewards validate against server state, not the animated position.
Recipes
Pickup idle — Y bob 0.35 * math.sin(t * 2), spin 30–45°/s, phase-offset per law 1.
Collection hands off to rbx-anim-tween for the despawn shrink.
Ambient life — trees rock ±1.5° over 4–6s; hanging signs take random wind impulses
(interval math.random(4, 12)s, swing amplitude decaying ×0.9/frame); 2–3 ambient movers per
scene is the difference between a diorama and a place.
Pet hop — bob 0.25 * math.abs(math.sin(t * speed)) (abs turns a wave into a hop), 8°
lean into turns, squash-stretch on landing (Size Y ×0.85, X/Z ×1.1, held 0.08s). Position
itself comes from rbx-pets-follow; this layer only decorates it.
Recoil — impulse-decay, never tweened: on fire, add a kick offset (viewmodel back 0.15
studs, up 2–4°), then amp *= 0.85 per frame until < 0.001, then snap to zero exactly.
Camera kick and shake pair from rbx-camera-shake; the shot itself is server-validated.
Breathing idle — torso rock ±0.8° plus Y drift ±0.05 studs over 3–4s per NPC, phase-offset across a crowd. Reads as alive from 10 studs; costs nothing.
IK-ish reach — lerp a turret/head/arm CFrame toward the target each frame with a max-turn clamp (90–180°/s). The clamp is the craft: instant snapping reads robotic, unclamped lerp never arrives.
Performance budget
One connection per system; registry iteration must be allocation-free (no table.insert per
frame). Cull by distance: skip movers beyond 150 studs of the camera — check every 10th frame,
not every frame. 200 active movers on a phone is the ceiling; past that, promote decoration to
static. Movers on RenderStepped (visual, client); anything gameplay-adjacent on Heartbeat.
After each execute_luau build chunk read get_console_output; verify motion and phase
variety with screen_capture per quality-bars.md.
Load with
rbx-anim-tween — the two layers ship together: choreography for the moment, this skill for
the life before and after. rbx-camera-shake whenever recoil is in scope. rbx-audio-sfx for
wind gusts and mechanical hums under ambient movers — don't ask, include it.
AI-tells
- ☐ Synchronized idle motion — every instance sampling the same
twith no phase offset - ☐ One RenderStepped connection per mover instead of one registry loop
- ☐ Frame-count timing that runs slow on 20fps devices
- ☐ Accumulated CFrame multiplication drifting objects off their base over time
- ☐ Recoil done as a smooth tween instead of impulse-decay
- ☐ Movers still iterating after their instance was destroyed (per-frame errors)
- ☐ Server hitbox or reward logic reading the animated position instead of the base
Memory
Read: preferences.md for motion taste ([stated] "subtler"/"bouncier" notes become amplitude
multipliers); the game's projects.md block for the existing mover-registry module and
container paths. Write: the shipped mover module (registry API + recipe params) into
module-library.md with its API line; per-game amplitude/speed choices into the game's
projects.md block so the next asset matches.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

