Fixer90
Member
So I've got an object to be moved around via inputs, and this object has physics on and a physics-collision circle as well; it moves based on 2 variables: xspeed and yspeed. How these 2 variables are determined is not important - what is important is this:
What's the difference between these two? How will my object act one way in comparison to another way?
Code:
x += xspeed;
y += yspeed;
Code:
phy_position_x += xspeed;
phy_position_y += yspeed;