Sign in to follow this  

XNA2D negative to Positive values

Recommended Posts

ok this may have a rediculous ans that im missing :P but .... if i define a Varible as
GameBall.Velocity = (-GameBall.Velocity);
how would you reverse this? (e.g)
GameBall.Velocity = (+GameBall.Velocity); //i know this doesnt work but it Illustrates what im trying to do

Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this