mike-marcacci / kuda

Automatically exported from code.google.com/p/kuda
GNU General Public License v2.0
0 stars 0 forks source link

Sprite's lookAtCamera broken #22

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
The lookAtCamera function for Sprite is intended to make the Sprite behave like 
a true sprite and always face the Camera. However it is currently broken.

Original issue reported on code.google.com by erik.kit...@gmail.com on 14 May 2011 at 4:56

GoogleCodeExporter commented 9 years ago
Removed intial rotation matrix from the Sprite constructor that was 
breaking the lookAtCamera function.

Unfortunately, lookAtCamera only works if you call run() on the Sprite. Need to 
replace the onRender dependency with a shader solution.

Original comment by erik.kit...@gmail.com on 14 May 2011 at 5:03

GoogleCodeExporter commented 9 years ago
Added initial rotation back in (it makes sense for a Sprite to be z-up). 
Implemented shader solution that removes onRender dependency.

Original comment by erik.kit...@gmail.com on 17 May 2011 at 3:22

GoogleCodeExporter commented 9 years ago
This has been verified and made it into release 1.4.0.

Original comment by jpywt...@gmail.com on 3 Aug 2011 at 3:47