weimingtom / angel-engine

Automatically exported from code.google.com/p/angel-engine
0 stars 0 forks source link

Camera movement intervals always operate from origin #51

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
As the title, I just want to move camera 4 times whose position is (0.0f, 0.0f).
The result is every time camera will move from (0.0f, 0.0f) to the point I 
supposed.

CODE:

theCamera.MoveTo(theCamera.GetPosition() + Vector2(10.0f, 0.0f), 0.7f, true, 
"MovingFin");

Original issue reported on code.google.com by sinclo...@gmail.com on 18 Apr 2011 at 7:36

GoogleCodeExporter commented 8 years ago
I'll wager this is due to the Camera class's having a Z coordinate for 
position, unlike every other actor in the world. Will have a look. 

Original comment by lieseg...@gmail.com on 18 Apr 2011 at 10:50

GoogleCodeExporter commented 8 years ago
Fixed in trunk. 

Original comment by lieseg...@gmail.com on 24 Feb 2012 at 12:39