Advertisement
Guest User

Untitled

a guest
Oct 23rd, 2014
113
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.30 KB | None | 0 0
  1. import bpy
  2. from bpy import context
  3.  
  4. tail = bpy.data.objects['Armature'].location + context.active_pose_bone.tail
  5. head = bpy.data.objects['Armature'].location + context.active_pose_bone.head
  6.  
  7. print(tail, head)
  8. bpy.data.objects['Empty.head'].location = head
  9. bpy.data.objects['Empty.tail'].location = tail
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement