Today I learned how to make the bullet go the way that my character are facing. what i did : I made the bullet the go the way my character are facing by using a simple code. I wrote when my charater are facing 180 degree then the bullet goes 180 degree . but there's a problem , whenever my character stand still, my bullet would just go to the right everytimes . the bullet isnt going the direction that the character are face when the character stand still, but when the character start moving , then the bullet will go the correct direction.
the next day I'm going to fix the problem of the bullet going to wrong way.
No comments:
Post a Comment