Jump to content
This is not recommended for shared computers
Sign in anonymously
Don't add me to the active users list
Banner advertising on our site currently available from just $5!
1. Learn about the promo. 2. Sign up for GDNet+. 3. Set up your advert!
Posted by Hypostomus
on 19 April 2013 - 03:30 PM
Assign a new Vector2 to it with appropriate values like so:
wormBodyPosition[i] = new Vector2((wormBodyPosition[i].X + wormBodyWidth), wormBodyPosition[i].Y);
GameDev.net™, the GameDev.net logo, and GDNet™ are trademarks of GameDev.net, LLC