Posted: Sat Jan 28, 2012 6:16 pm
Thanks JV!
After manny attempts I managed to do it
while(1){
....
$bodycam1 rotateto ( angles_pointat $targetcamera1 $targetcamera1 $bodycam1)
$bodycam2 rotateto ( (angles_pointat $targetcamera2 $targetcamera2 $bodycam2) - ( 0 90 0) )
$bodycam1 move
$bodycam2 move
......
}
I had to substract 90 degrees in the second camera because it rotated wrong (wrong origin?). Thanks again JV!
After manny attempts I managed to do it
while(1){
....
$bodycam1 rotateto ( angles_pointat $targetcamera1 $targetcamera1 $bodycam1)
$bodycam2 rotateto ( (angles_pointat $targetcamera2 $targetcamera2 $bodycam2) - ( 0 90 0) )
$bodycam1 move
$bodycam2 move
......
}
I had to substract 90 degrees in the second camera because it rotated wrong (wrong origin?). Thanks again JV!