1
General / Re: SFML and Box2D Issue
« on: December 31, 2017, 01:33:27 pm »
I created the sprites already and positioned them on the map, however I want to set the Box2D body to the position of the objects, so that when the player moves the box2D object leaves the view.
However when I create the box2D object it stays in it's position in the view, rather than going off the view with the other sprites.
I'm unsure on how to set the Box2D object position on the map and not the view
However when I create the box2D object it stays in it's position in the view, rather than going off the view with the other sprites.
I'm unsure on how to set the Box2D object position on the map and not the view