that way I've a visible view of the 'collision point'.Īnother cause could be the sprite's origin point, that determines at which position the x and y appears, and that the sprite by turning collides with the wall itself. When I face with collision problems, I'll use a crosshair sprite, and draw it at the same position as where it should be colliding. Is it turning back to the wall after a short while, or is it stuck and is flickering to left and right rapidly? Both could involve that the collision point isn't updating well.
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |