# Offset turret rotation

**URL:** <https://forum.kirupa.com/t/offset-turret-rotation/281403>\
**Category:** programming\
**Created:** [February 9, 2009, 12:47am UTC](https://forum.kirupa.com/t/offset-turret-rotation/281403 "2009-02-09T00:47:19Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![SticksStones](https://avatars.discourse-cdn.com/v4/letter/s/c68b51/32.png) [@SticksStones](https://forum.kirupa.com/u/SticksStones)\
**Post date:** [February 9, 2009, 12:47am UTC](https://forum.kirupa.com/t/offset-turret-rotation/281403/1 "2009-02-09T00:47:19Z")

</div>

Hi

I know this will be an easy question for anyone with better math than me, but I’m really stuck!  
I’m making a top down game - with spaceships! - I’m always pushing the boundaries :ducky:  
The spaceship has a gun that turns, if a bullet was fired from the end of the gun, where would the bullet spawn?

Thanks
