View Single Post
  #3  
Old 01-18-2013, 06:03 PM
farshizzo farshizzo is offline
WorldViz Team Member
 
Join Date: Mar 2003
Posts: 2,849
To scale the robot, but not the movement, you can apply the scale to the head/body parts: For example, to double the size try the following code:
Code:
robot.head.setScale([2,2,2])
robot.body_root.setScale([2,2,2])
You can apply an offset to the tracker, to center with the eye height:
Code:
robot.setTracker(viz.link(tracker,viz.NullLinkable,offset=[0,-0.2,0]))
Reply With Quote