Menu

#189 MoveAroundTarget problem

open
nobody
None
5
2011-10-11
2011-10-11
HGPLSoft
No

If set this:
glscene.objects.Direction.AsAffineVector:=AffineVectorMake(0,1,0);
glscene.objects.Up.AsAffineVector:=AffineVectorMake(0,0,1);
then the camera turnaround is not working correctly because some coord change with +- values and the screen is vibrate.

If create a rootdummy and set this dummy direction and UP, then the vibrate what a notice before not appear.
BUT after in this settings:

rootdummy.Direction.AsAffineVector:=AffineVectorMake(0,1,0);
rootdummy.Up.AsAffineVector:=AffineVectorMake(0,0,1);

the turnaorund is working but only in 180 degree.

Discussion

  • HGPLSoft

    HGPLSoft - 2011-10-11

    Sorry... MoveAroundTarget function

     
  • HGPLSoft

    HGPLSoft - 2011-10-11
    • summary: turnaround problem --> MoveAroundTarget problem