![]() |
#3
|
|||
|
|||
If you parent the model to a group node, then saving the group will preserve the transformation of the model. Example:
Code:
import viz viz.go() root = viz.addGroup() model = viz.add('dojo.osgb',parent=root) model.setEuler(180,0,0) root.save('dojo_rotated.osgb') |
Tags |
position, rotation, save, scale, transformation |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
limiting object rotation | Philippe | Vizard | 5 | 10-07-2010 04:31 PM |
Semi-circle array containing target and distractor objects | ptjt255 | Vizard | 3 | 08-04-2009 03:09 AM |
Lightwave objects rotation problem | hosier | Vizard | 6 | 02-13-2009 12:04 PM |
Can you link the position of a tracker to the orientation of an object? | michaelrepucci | Vizard | 1 | 09-19-2008 10:23 AM |
getting absolute rotation | tavaksai | Vizard | 1 | 08-03-2004 01:40 PM |