M
mastmartelli
Guest
I'm trying to have a gun shoot bullets, by using instance_create_layer(x+bullet_x,y+bullet_y,"guns",oBullet) in the gun's step event, the bullet_y for this gun is set to 0 and the bullet x is set to the tip of the gun. It works fine, but since the gun can be rotated with image_angle, the more it rotates up or down the bullet starts to be created farther from the gun, anyone have any ideas on how to fix this?