#1
|
|||
|
|||
change a model between scenes?
i tried to change a 2d cursor or a 3d model between scene 1 to scene 2 but i can't find the solution.
I know that you can specify the scene when you load the model or make a copy/clone/duplicate to another scene,but i want to change the object to another scene once the model is loaded,is possible this? |
#2
|
|||
|
|||
You can use the <node3D>.parent command to do this:
Code:
import viz viz.go() gallery = viz.add('gallery.ive') court = viz.add('court.ive',scene=2) avatar = viz.add('vcc_male.cfg',pos=[0,0,2],euler = [180,0,0]) avatar.state(1) #switch between scenes 1 and 2 vizact.onkeydown('1',viz.scene,1) vizact.onkeydown('2',viz.scene,2) #move the avatar to scene 2 vizact.onkeydown(' ',avatar.parent,viz.WORLD,scene=2) |
#3
|
|||
|
|||
Thanks Jeff, this will make more efficient my applications.
|
Thread Tools | |
Display Modes | Rate This Thread |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Change Viewpoint in different scenes | lilio | Vizard | 1 | 08-28-2009 03:56 PM |
Change model alpha and memory leak | hosier | Vizard | 2 | 06-25-2009 11:55 AM |
Importing a 3d human model and getting it to interact. | yak | Vizard | 3 | 06-01-2009 03:19 PM |
Randomly and Continuously Change Avatar's Face Texture | Karla | Vizard | 4 | 08-22-2008 01:14 PM |
Model sizes | Pastscapian | Vizard | 15 | 10-07-2006 03:48 PM |