Hello,
I would like to move my camera which fixes point (Target) between two points (A and B).
TVec3 Target(….)
TVec3 A(….)
TVec3 B(….)
Frame = 200
TVec3 Inc = (B-A)/Frame
For( int i=0;i<Frame;i++)
{
MoveEntity(CameraPivot,inc);
PointEntity(Camera,TargetEntity);
PositionEntity(Camera,EntityPosition(m_CameraPivot),1);
Render();
}
My problem is that the camera does not go in the direction of point B !!!
Help me please ^^
Gabriel