View Single Post
# 2 23-09-2004 , 01:37 PM
antiant's Avatar
Subscriber
Join Date: Feb 2004
Location: Melbourne
Posts: 462
Hi guys.. well heres the solution to the problem

first create a dummy camera
Then with that selected go to the expression editor and put this expression is
I have Four cameras setup in the scene. "Dummy" - just used for viewing, "Rubbish" "Face" and "Woman" are all cams set into position.
Then just adjust your currentTime to match when you want the camera to change. And you have real time, camera changes to get more feeling of how your animation will look.
P.S.. i didnt find the solution to this, my friend Jeff did..


if (`currentTime -q` <= 100) {
Dummy.translateX = rubbish.translateX;
Dummy.translateY = rubbish.translateY;
Dummy.translateZ = rubbish.translateZ;
Dummy.rotateX = rubbish.rotateX;
Dummy.rotateY = rubbish.rotateY;
Dummy.rotateZ = rubbish.rotateZ;
} else if (`currentTime -q` > 200 && `currentTime -q` <=300) {
Dummy.translateX = face.translateX;
Dummy.translateY = face.translateY;
Dummy.translateZ = face.translateZ;
Dummy.rotateX = face.rotateX;
Dummy.rotateY = face.rotateY;
Dummy.rotateZ = face.rotateZ;
} else {
Dummy.translateX = woman.translateX;
Dummy.translateY = woman.translateY;
Dummy.translateZ = woman.translateZ;
Dummy.rotateX = woman.rotateX;
Dummy.rotateY = woman.rotateY;
Dummy.rotateZ = woman.rotateZ;
}