Created
April 21, 2020 12:46
-
-
Save openroomxyz/7808c176edc195cd76aeea2497ad991c to your computer and use it in GitHub Desktop.
Blender Python : How do i make one object child of some other object?
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| def make_a_parent(parent, child): | |
| objects = bpy.data.objects | |
| a = objects[parent] | |
| b = objects[child] | |
| b.parent = a |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment