Jump to content

  • Log In with Google      Sign In   
  • Create Account


#ActualRoyP

Posted 16 December 2012 - 09:46 PM

Alvaro,

I know to rotate the sprite, but I'm not sure how to apply the rotation to the offset locations of each satellite ship using math.

In XNA, my location for the mother ship isn't changing, just the rotation value. However, the location for the satellite ships have to change to keep the same fleet orientation.

How do I find that new x,y location for each satellite ship? That's what I'm trying to grasp.

Roy

#1RoyP

Posted 16 December 2012 - 09:44 PM

Alvara,

I know to rotate the sprite, but I'm not sure how to apply rotation to the offset locations using math.

In XNA, my location for the mother ship isn't changing, just the rotation value. However, the location for the satellite ships have to change to keep the same fleet orientation.

How do I find that new location for each satellite ship? That's what I'm trying to grasp.

Roy

PARTNERS