View Single Post
Old 11-13-2013, 05:51 AM
Frank Verberne Frank Verberne is offline
Join Date: Mar 2008
Location: Netherlands
Posts: 148
I think you're looking for something like this:
positionOffsets = [x,y,z]
rotationOffsets = [yaw,pitch,roll]
grabLink =,object,1)
You mentioned in your question that you want to offset the position, but in the piece of code below, there is a variable called rotationOffsets. You can offset the rotation of a link with link.preEuler() and the position of a link with link.preTrans(). Both are described in the code above. Hope that solves your problem!
Reply With Quote