grabbing preset transforms from a list and making themwork 2004-03-03 - By NoiseCrime
Back
-- -- Original Message -- -- From: <welchc@(protected)>
> 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.
The anwser is simple, Macromedia doesn't trust you to update a transform, and therefore wont allow you to do so directly. I think the reason they gave was mainly in relation to camera transforms and how you could potentially do some nasty things.
Thankfully you can achieve what you want, but you have to set each value of the transform individually.
e.g. tTransform = transform() tTransform[1] = gDatabase[whichPage][3][1] . tTransform[16] = gDatabase[whichPage][3][16]
then scene.model(whichmodel).transform = tTransform
Hope that helps
Noisecrime 2004
__ ____ ____ ____ ____ ____ ____ ____ ____ ____ Dir3d-l mailing list Dir3d-l@(protected) http://nuttybar.drama.uga.edu/mailman/listinfo/dir3d-l
|
|