Alberto

Unregistered less info
6 reputation
1
bio website
location
age
visits member for 1 year, 9 months
seen Oct 10 '12 at 18:30

Jan
27
awarded  Popular Question
Oct
6
comment rotate sprite and shooting bullets from the end of a cannon
thanks for you answer but i tryed your solution and the bulled is creates in diferents parts of the screen and not in de end of barrel :( see the modifications: [syntax="java"] int x2 = (int) (canon.getSceneCenterCoordinates()[0]+LENGTH_SPRITE*Math.cos(canon.getRotation()‌​)); int y2 = (int) (canon.getSceneCenterCoordinates()[1]+LENGTH_SPRITE*Math.sin(canon.getRotation()‌​)); final Sprite projectile; projectile = new Sprite( (float) x2, (float) y2, mProjectileTextureRegion,this.getVertexBufferObjectManager() ); [/syntax] any idea? thx again.
Oct
6
asked rotate sprite and shooting bullets from the end of a cannon