Question (camera)
Blitz3D Forums/Blitz3D Programming/Question (camera)
| ||
Hi, I have a problem with my camera. Based on the EntityX,Y and Z of 2 players, I zoom and place my camera (smoothly). The problem I have is this: What I am trying to accomplish is that the distance from player 1 and 2 has the same distance relativly to the camera viewport. ps: In the picture I ofcourse ment "little distance" instead of "distance is low" :-D What is the best way to accomplish this? Thank you! |
| ||
You want to create a '3rd' point that sits in between them. Then 'push' this out along the arc of the distance between the two entities...then just position the camera there. it'll always be evenly distanced from the two entities as long as you 'lock' the camera to the 'vector' that the mid point is pushed out into. |
| ||
Thanks, In the end it was quite simple. |
| ||
WOW! This looks amazing! Any demo available? |
| ||
Jeroen, Looking superb! IPete2. |