Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- if(velocityX < 0f){
- velocityX += 0.1f;
- }
- if(velocityX > 0f){
- velocityX -= 0.1f;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement