View Single Post
  #4  
Old 09-07-2012, 07:50 AM
nabrahamson nabrahamson is offline
Member
 
Join Date: Sep 2011
Posts: 36
So to follow up, I've been able to reproduce the coordinate system in inspector. However, I am now trying to move that screw along one of the axis of that coordinate system by doing the following:

Code:
moveaction = vizact.moveTo(y_trans,time = 1.0, mode = viz.ABS_GLOBAL)
screw.addAction(moveaction)
The point y_trans refers to is the endpoint of the green axis in the attached photos. As you can see by the second photo, the screw does not get moved to the end of the green Axis. Is viz.ABS_GLOBAL the wrong mode to use with this command? Or am I just referring to the wrong coordinate system?
Attached Thumbnails
Click image for larger version

Name:	axis.png
Views:	1134
Size:	431.2 KB
ID:	521   Click image for larger version

Name:	translate.png
Views:	1166
Size:	146.0 KB
ID:	522  
__________________
Reply With Quote