rotate sprite and shooting bullets from the end of a cannon
- by Alberto
Hi all i have a problem in my Andengine code,
I need , when I touch the screen, shoot a bullet from the cannon (in the same direction of the cannon)
The cannon rotates perfectly but when I touch the screen the bullet is not created at the end of the turret
This is my code:
private void shootProjectile(final float pX, final float pY){
int…