interpolateTo() problems 2003-12-02 - By welchc@(protected)
Back
Can anyone think of a reason why, when I use this in the exitframe:
scene.camera ("camMaster").parent.transform.interpolateTo(DestinationPoint, 10)
my result transform does not match the DestinationPoint. The W3d I'm using was exported from Maya and all the cameras have parents - so I am getting my Begin.transform and my destination.transform from the camera parents. The reason for this is that my client has a bunch of cameras set up in the scene (that HE exported from Maya) - he wants me to interpolate a camera to and from each of his pre-exsisting camera.transforms.
These are my results:
Notice how my position transform works fine- InterpolatedCamera.transform.position = vector( 121.2207, -8.3720,37.4764 ) Destination.transform.position = vector( 121.2208, -8.3720, 37.4764 )
But, my rotation transform is another story-They don't match up at all. InterpolatedCamera.transform.rotation = vector( 123.8755, -14.8816,53.1333 ) theModel.transform.rotation = vector( 94.5999, 0.0000, 45.1678 )
Has anybody else ever had this problem?
Thanks,
Carl Welch
__ ____ ____ ____ ____ ____ ____ ____ ____ ____ Dir3d-l mailing list Dir3d-l@(protected) http://nuttybar.drama.uga.edu/mailman/listinfo/dir3d-l
|
|