constraints-and-parenting

Installation
SKILL.md

Constraints, parenting and attach sockets

Trigger

Use this skill when the user:

  • Parents objects from Python with child.parent = ... and the child jumps
  • Mentions matrix_parent_inverse, matrix_world, matrix_basis, or matrix_local
  • Reads matrix_world right after editing location / rotation_euler and gets old numbers
  • Adds constraints (DAMPED_TRACK, TRACK_TO) or calls bpy.ops.object.constraint_add in a loop
  • Builds named socket empties (SKT_*) that a game engine or spawn system attaches modules to
  • Freezes a rig with transform_apply and the children's local transforms change

High-level shape

import bpy
Installs
7
GitHub Stars
19
First Seen
9 days ago