grabbing preset transforms from a list and making them work 2004-03-03 - By Lucas Meijer
Back Carl,
A few guesses:
did you declare gDatabase as a global in the same script as you're getting errors?
are you sure scene.model(whichmodel) points to a valid model?
This should just work.
Bye, Lucas
> I have many lists within a single list that contain a number of camera > transforms but I try to call them, I keep getting errors. > > I've tried this: > > scene.model(whichmodel).transform = gDatabase[whichPage][3] > > and This: > > scene.model(whichmodel).transform = gDatabase[whichPage][3].float > > if I put gDatabase[whichPage][3] in the message window, my result looks > like a normal transform: > > transform(0.86024,-0.50989,-0.00058,0.00000, > 0.10525,0.17646,0.97866,0.00000, -0.49891,-0.84195,0.20547,0.00000, > -166.22955,-299.41473,66.14555,1.00000) > > What simple detail am I missing in order to make this work? > > Thanks, > > Carl. > > > > __ ____ ____ ____ ____ ____ ____ ____ ____ ____ > Dir3d-l mailing list > Dir3d-l@(protected) > http://nuttybar.drama.uga.edu/mailman/listinfo/dir3d-l > >
__ ____ ____ ____ ____ ____ ____ ____ ____ ____ Dir3d-l mailing list Dir3d-l@(protected) http://nuttybar.drama.uga.edu/mailman/listinfo/dir3d-l
|
|