![]() |
|
#4
|
|||
|
|||
|
Thanks a lot, this seems to work, at least with some models. For some reason, it does not work with all - I'll have to investigate a bit. Maybe it is a format-specific glitch. Here is an example:
Code:
import viz
viz.go()
root = viz.addGroup()
model = viz.add('dojo.osgb',parent=root)
model2 = viz.add('table.wrl',parent=root)
model2.setPosition(2,2,2)
model.setEuler(99,0,0)
model.setPosition(1,1,1)
root.save('dojoandtable.ive')
root.remove()
viz.add("dojoandtable.ive")
|
| Tags |
| position, rotation, save, scale, transformation |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| limiting object rotation | Philippe | Vizard | 5 | 10-07-2010 05:31 PM |
| Semi-circle array containing target and distractor objects | ptjt255 | Vizard | 3 | 08-04-2009 04:09 AM |
| Lightwave objects rotation problem | hosier | Vizard | 6 | 02-13-2009 01:04 PM |
| Can you link the position of a tracker to the orientation of an object? | michaelrepucci | Vizard | 1 | 09-19-2008 11:23 AM |
| getting absolute rotation | tavaksai | Vizard | 1 | 08-03-2004 02:40 PM |