Page 11 of 11

Posted: Sat Jan 28, 2012 6:16 pm
by Jere
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!

Posted: Sun Jan 29, 2012 4:51 pm
by jv_map
Awesome, well done! :). I'm guessing bodycam2 is facing a different direction in the .map file?

Posted: Sun Jan 29, 2012 5:08 pm
by Jere
yes my friend!