so want shoot projectile straight, relative bikes rotation. here code:
function shootbutton:touch(event) if event.phase == "began" if g_fired == false local fireposx= bframe.x +170 local fireposy = bframe.y -20 bullet.y = fireposy bullet.x = fireposx bullet:applyforce( 23000, 10, bullet.x, bullet.y ) -- 44000 bullet.isvisible = true bullet.isbullet = true return true end end end