spinning a 2d Cube

Posted by Rahul Verma on Game Development See other posts from Game Development or by Rahul Verma
Published on 2014-06-03T18:17:23Z Indexed on 2014/06/03 21:41 UTC
Read the original article Hit count: 303

Filed under:

I know that a cube is actually a 3d shape , but i have some other problem over here.

I have been doing 2D Game dev using libgdx but have never touched 3D rendering. Now what I want in my 2D game is that instead of coins I make my player collect magical cubes. But those cubes need to be spinning on one Diagonal, same can be seen in popular game Vector.

Here is a screenshot.

Can someone explaing the mathematics of such an animation

© Game Development or respective owner

Related posts about 2d

Related posts about 3d