Hello,
I am making a wave swinger in 3D. Now I want to make an onride view of one gondela. I have the following code already:
Code:
function cam6() {
while(1) {
if(cam_s2 == 6) {
camera.x = gondel_rider.x;
camera.y = gondel_rider.y;
camera.z = gondel_rider.z-20;
camera.pan = gondel_rider.pan-90;
camera.roll = gondel_rider.skill15;
}
wait(1);
}
}
The camera almost move with the gondela correctly, but does't swing out. So you stay at the starting point, but you see your gondela swings out, but the camera not.
How can I fix this problem?
Thanks in advance.