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, ormatrix_local - Reads
matrix_worldright after editinglocation/rotation_eulerand gets old numbers - Adds constraints (
DAMPED_TRACK,TRACK_TO) or callsbpy.ops.object.constraint_addin a loop - Builds named socket empties (
SKT_*) that a game engine or spawn system attaches modules to - Freezes a rig with
transform_applyand the children's local transforms change
High-level shape
import bpy