Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import bpy
- from bpy import context
- tail = bpy.data.objects['Armature'].location + context.active_pose_bone.tail
- head = bpy.data.objects['Armature'].location + context.active_pose_bone.head
- print(tail, head)
- bpy.data.objects['Empty.head'].location = head
- bpy.data.objects['Empty.tail'].location = tail
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement