i was making a test game but when i played it the rocket launcher is in a different position when its supposed to be with the character anybody knows how to fix this? here some images
the code for the rocket launcher is this.x = character.x;
--------------------------------------------- this.y = character.y