rig-modular-characters

Created about 10 hours ago

attributes
descriptionTurn an existing character design into a modular, animated 3D character with separate face and hair, fitted armor, a Blender control rig, baked hair and cloth, a Three.js viewer and a native 4K motion review. Use for a full build, retargeting a movement library, or repairing issues such as sliding feet, twisted wrists and cloth clipping.
licenseMIT
license_urlhttps://github.com/MengTo/Skills/blob/2f8cb46167bec49ee3c4a6ca37972fc065b6b47e/LICENSE
namerig-modular-characters
publisherMengTo
repository_urlhttps://github.com/MengTo/Skills
source_urlhttps://github.com/MengTo/Skills/blob/2f8cb46167bec49ee3c4a6ca37972fc065b6b47e/agent-skills/3d/rig-modular-characters/SKILL.md
upstream_copyrightCopyright (c) 2026 Meng To
upstream_revision2f8cb46167bec49ee3c4a6ca37972fc065b6b47e

Rig a modular character

Start with the owner's character sheet and the actual destination, such as an editable Blender scene, game-ready GLB or offline comparison page. For a repair, reproduce it in the delivered asset first, keep the previous version as a baseline, and begin at the affected stage. The Ivory Knight production notes give measured examples and distinguish individual releases.

1. Establish identity and scale

Use references the owner can use. Pick one identity anchor with a readable face and one full-body neutral A-pose with empty hands. Record height, forward axis, floor, camera side convention, outfit asymmetries and the intended materials. Match front, profile and back at the same scale. Mark hips, knees, ankles, shoulders, elbows and wrists on the front and side. Save the originals.

2. Make individual views for each part

First build or rough in a full-body proxy. Its orthographic cameras supply exact silhouette and direction guides. For each part, use the same identity anchor and guide to generate one image per file. The knight used eight yaw angles at 45° intervals plus top and underside. Keep left and right labeled from the character's perspective. Allow enough margin around the tip of a boot, collar or strand.

For the face, explicitly request a complete bald skull, ears and neck. For the hair, request the same cut and color on a neutral support with no facial detail. Compare asymmetrical fasteners, the hair part, the nape and rear silhouette against the anchor. Regenerate an incorrect angle alone. Save generator, settings, actual pixel dimensions and provenance. Keep source images, enlargements and exact renders in distinct directories. Independent image generations can drift between angles.

3. Generate high-detail sources and fit the outfit

Check the available provider model, privacy mode, upload size, unit price and approved batch before submitting. For this production, Tripo Studio H3.5 Preview accepted a target of five million triangles per part with 4K PBR materials. Record the returned mesh count and dimensions of each texture. Save receipts so a restart can reuse completed jobs.

Use the proxy for registration. Generate torso/collar, waist, pauldron, arm plates, glove, leg plates, boot, cape and skirt/tabard independently where they need different silhouettes or motion. Inspect the back of every head. Reject a second face even when the front is excellent. Correct the rear guide or retry from an unambiguous bald front image within the owner's budget.

Archive untouched high-poly masters. Build UV-preserving runtime copies and bake color, normal, roughness and metal detail as needed. Fit each rigid piece by anatomical landmarks. Mirror only appropriate pieces, fix normals and transfer weights from the corresponding side. Retain an underlayer at openings. Test shoulders raised, elbows bent and knees lifted before approving a fit.

4. Bind a character an animator can edit

Keep the deform skeleton and visible body geometry separately selectable. When retiring a torso insert, identify its mesh and check the waist and pelvis from the front and sides during a run. Preserve the armature, approved arming layers and equipment that share its joints.

Fit a Rigify metarig to the measured skeleton. Keep the control armature separate from the deform skeleton used by the game. Provide hand/foot IK, elbow/knee poles, IK/FK switching and per-hand finger curl. Constrain armor plates to the segment they protect. Blend weights at soft joints, assign each rigid part deliberately, and pin cloth at its physical attachments. Normalize and inspect up to four influences per vertex for a four-weight target. Stress-test collar, shoulder, glove, hip and knee seams in Blender and after export.

Keep the complete head separately selectable. Fit a head-weighted scalp lining under the moving locks using the actual skull surface. Trace the hairline around the temples, ears and nape. Inspect it from above and behind with the outer locks both shown and hidden. Fit the crown first, then weight the free ends to guides. Blender Soft Body guides with damped tracking and rotation limits are one open-source option. Test a head turn, sudden stop and return to rest.

5. Give the motion weight

Start each gameplay move from a named performance in an established motion library. Record the donor rig, clip, revision, author, use terms and any edits. Match the performer’s proportions and movement style to the character. For an adult HumGen character, compare the source silhouette and reach before retargeting. If a suitable open performance is missing, identify the gap before choosing a substitute.

For the complete roster, use the movement fitting guide. It maps 25 exported clips to their sources and explains how to fit foot travel, rest transitions, eyelids, cloth and prop contacts. The current knight uses the Rokoko Blender add-on with Flare and 0 A.D. action sources, Quaternius for the existing gait and reaction library, and six CMU human captures for the added moves.

Play the original clip on the author’s own rig with the original prop attached. Match frames by time and compare the source and target side by side. For two hands, measure which palm is closer to the tip, the actual blade direction, the hand midpoint relative to the shoulders, and each foot’s travel and rotation. Check between exported keys. Keep source steps and timing as the baseline. When timing is the requested edit, apply one time map to the body, contacts and prop. Report the adjustments needed for the new hilt length and armor. Include one full-body view and a grip close-up.

For a held prop, measure wrist bend, side bend and axial twist relative to the bind pose on both arms. Check shoulder and forearm rotation, elbow bend, knee direction, foot contacts and armor clearance between baked keys on the final model. Keep the grip fixed through the move and fit its roll and the elbow's bend plane together. Treat numeric limits as fitted to the character, and inspect the action from both sides. Match bone rolls and limb proportions before baking. Review idle, walk, run, jump/landing, hit reaction and each requested performance. Set loop behavior individually. For an in-place gait, record intended travel speed so the foot-contact test can restore that travel.

  • Run. At contact, lift, swing and toe-off, sample hip, knee and ankle in the same space. Transform the recorded local forward axis by the current character orientation, and confirm its sign in a known-good bent pose. Project the knee onto the hip–ankle line. Dot the remaining perpendicular offset with anatomical forward projected onto the same plane. Negative values indicate a reversed bend. Ignore near-straight or degenerate segments within a scale-aware tolerance. Test both sides and between exported keys. Correct the knee pole in character space while retaining the ankle target and boot orientation. Review both profiles and measure planted heel/toe movement.
  • Hand-held props. Fit a rigid grip socket to the closed palm and parent the prop once. For a two-hand animation, place a second contact on the same handle and drive the other wrist to it with IK. Keep one-hand and two-hand clips distinct. Measure both distance and angular error from the off-hand contact frame. Check finger closure and wrist roll through the whole performance, including transitions.
  • Cloth and hair. Drive pinned roots from the head, shoulders or waist. Add damped response along free segments and limit movement against the body. Run cyclic clips through warm-up cycles before baking. Check the cape against both boots and greaves throughout the stride and the skirt against raised knees. Test the exported deformed surfaces. Track intentional attachment overlap separately from free cloth penetration. Recheck the cloth after every leg or timing change.

If a skirt still crosses armor at landing, inspect neighboring vertices on the fold. Smooth abrupt skin weights locally, keeping the strongest four normalized influences. Sample the deformed armor in height bands. Keep each panel on its original side of the body as you push it outside the measured outline. Store the residual displacement in bind space, compress the sampled corrections into glTF morph targets and animate their weights. Test the compressed result at twice the bake rate. Check each moving garment independently against both boots and both greaves.

6. Export, inspect and hand off

Keep an editable, packed scene with controls and live guides. Bake sampled deform-joint motion for GLB playback. Reimport into a clean scene, then load the actual delivery in Three.js. Check joint counts, texture decoding, loop seams, finite poses, planted contacts and attachment drift. Test play/pause/replay, every action, model switching, orbit, close-ups and both profile cameras. Frame the whole body and extremities for action review. Include the model sidecars a double-clickable offline viewer needs.

When updating a subset of the actions, merge the edited clips by name into a copy of the accepted full library. Before handoff, run the clip roster check against the revised GLB and the model embedded in the offline viewer.

For a native UHD film, render each camera frame at 3840 × 2160, at 100% resolution. Set a fixed frame rate, encode the sequence and inspect the first frame, fastest motion, contact poses and ending. Check the encoded stream:

ffprobe -v error -select_streams v:0 -count_frames \
  -show_entries stream=width,height,avg_frame_rate,nb_read_frames,duration \
  -of json "motion-review.mp4"

The encoder can enlarge a small frame. Verify one source frame or the rendering buffer as well. For RunPod, pack dependencies, estimate transfer bytes and runtime from a representative frame, use the authorized pod and budget, download and verify the outputs, then stop resources started for the job. Report what was generated, tested, uploaded and spent, and label pending renders. Share only assets cleared for the destination. Tools and source references

For a narrated review, use the timed 4K film outro. Match each line to a visible change and replace this character’s timings and measurements when preparing another film.


Copyright (c) 2026 Meng To

The license files are attached. MIT

The attached ZIP contains the pinned supporting files and applicable license notices.

Like how this is organised?

Build your own Memory tree on knowen.md: notes, decisions and tasks in one connected markdown graph, shared with your team and your AI agents.